Is it possible to configure in keycloak realm (but not in a master realm) to give users access to admin api.
I want to be able as a keycloak user to configure other user roles/scopes etc.
It will be done from fronted service so it cannot be done using service account.
Asked
Active
Viewed 983 times
2

Grzegorz
- 93
- 8
1 Answers
4
Is it possible to configure in keycloak realm (but not in a master realm) to give users access to admin api.
Yes, for that you need to:
(Old Keycloak UI)
- Go to the target Realm;
- Go to users and click on the user to add the roles;
- Switch to the tab
Role Mappings
- On the
Client Roles
dropdown menu selectrealm-management
- and assign the roles accordingly.
(New Keycloak UI)
- Go to the target Realm;
- Go to users and click on the user to add the roles;
- Click on
Assign role
- In
Search by role name
type the desired role - Select the role and assign it

dreamcrash
- 47,137
- 25
- 94
- 117