capabilities.work

Add realm roles to a client scope

One step with Keycloak. We can help you get access.

Get something done

Add realm roles to a client scope

Use Keycloak: its Keycloak Admin REST Scope Mappings API lets you add realm roles to a client scope in a single step (POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm). capabilities.work can help you get signed up and connected.

  • How do I let a client scope include realm-level roles in its scope mappings?
  • Can I map extra realm roles onto an existing client scope?
Say it to your AI assistant
  • Map realm roles onto client scope {scope_id} in realm {realm}.
  • Extend the scope {scope_id} in {realm} with more realm-level roles.
For your developer

POST /admin/realms/{realm}/client-scopes/{client-scope-id}/scope-mappings/realm in Keycloak Admin REST Scope Mappings API. Full spec on APIs.io.