Skip to content

Unable to authorize role from keycloak token from two o more resource access #1040

@andresmontoyat

Description

@andresmontoyat

I have a question about the #997 this ticket closed. My question is about the : How to configure my security endpoints when i have two resources access from keycloak JWT.

It's very similar approach from my side. I have a similar JWT Claims from this example:

"resource_access": {
    "wattfront-dev": {
      "roles": [
        "admin"
      ]
    },
    "account": {
      "roles": [
        "manage-account",
        "manage-account-links",
        "view-profile"
      ]
    }
  

Reading the krakend-ce documentation, I assume the easy setup would be to have two endpoints with each configuration.
Or from your experience, what could that approach be?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions