79257241

Date: 2024-12-06 08:07:11
Score: 0.5
Natty:
Report link

Unfortunately, Keycloak doesn’t provide a direct endpoint to list scopes assigned to a specific role. However, you can use the GET /admin/realms/{realm}/roles-by-id/{role-id} endpoint to fetch details about a role. If the role is composite, the response will include all associated roles and permissions (scopes). Alternatively, you can use GET /admin/realms/{realm}/clients/{client-id}/scope-mappings to retrieve all scope mappings for a client and cross-reference them with your role.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Julian______