Relative Content

Tag Archive for keycloakkeycloak-rest-api

Keucloak: get client scopes assigned to client role

I have several client scopes defined in the realm, and some roles.
“Scope” in my domain means a specific permission, such as “entity.create”, “entity.view”, “entity.delete”, etc. “Role” means an aggregation of permissions that will be assigned to the user, such as “Administrator”, “Line operator”, “Guest”, etc.
For example, the “Guest” role will be mapped to just “entity.view” scope, the “Administrator” role will be mapped to “entity.view”, “entity.create” and “entity.delete” scopes.

Keucloak: get client scopes assigned to client role

I have several client scopes defined in the realm, and some roles.
“Scope” in my domain means a specific permission, such as “entity.create”, “entity.view”, “entity.delete”, etc. “Role” means an aggregation of permissions that will be assigned to the user, such as “Administrator”, “Line operator”, “Guest”, etc.
For example, the “Guest” role will be mapped to just “entity.view” scope, the “Administrator” role will be mapped to “entity.view”, “entity.create” and “entity.delete” scopes.