如何通过API获取Keycloak中的客户端策略列表和权限列表?

时间:2020-09-22 01:46:00

标签: keycloak openid-connect keycloak-rest-api

我可以通过以下方式获取客户端资源列表

$ {url} / auth / realms / $ {realm_name} / authz / protection / resource_set与uma_ticket_token。

使用uma_protection令牌请求客户端的资源 enter image description here

请求uma_protection令牌 enter image description here

分配uma_protection令牌 enter image description here

但是我无法获取策略列表和权限列表。 从Keycloak文档中。 https://www.keycloak.org/docs/latest/authorization_services/#_service_authorization_uma_policy_api 首先,将票证令牌获取到资源服务器,但是我想将Keycloak用作Authz和资源服务器。有关如何获取许可权证和请求方令牌(RPT)的文档尚不清楚。我也回顾了UMA 2.0流程,但这也无济于事。你能帮我吗?

0 个答案:

没有答案