Access Keycloak REST Admin API using a service account (client credential grant)

拈花ヽ惹草 提交于 2019-12-05 17:44:39

Keycloak differentiates between the Scopes/Scope mapping & the roles management.

The Scopes tab: you see in the question above only manages the roles that a client is allowed to request.

For the client credential grant to work these roles must be assigned to the client in the "Service Account Roles" Tab.

So in the end the client receive a token that is the intersection of both of those configurations.

Source: https://www.keycloak.org/docs/latest/server_admin/index.html#_service_accounts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!