Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

dcb-service returning 401 with a newly configured keycloak

By default keycloak maps roles to the JWT Claim path realm_access.roles. Micronauts oauth implementation expects roles to appear at "roles". To synchronize the two you should update the oauth client in the dcb_hub realm by clicking on "Client Scopes", "Roles", "Mappers", "Realm Roles" then in "Token Claim Name" change "realm_access.roles" to "roles"

This step will enable the admin scripts to work with the keycloak main realm

  • No labels