【发布时间】:2021-09-08 17:32:34
【问题描述】:
我使用http://localhost:8080/auth/realms/{realm_name}/protocol/openid-connect/token endpoint 创建令牌。
grant_type=client_credentials
客户 ID:------------
客户端密码:78296d38-cc82-4010-a817-65c283484e51
现在我想获得领域的用户。然后我使用令牌向http://localhost:8080/auth/admin/realms/{realm_name}/users?username=demo 端点发送请求。
但我收到了403 forbidden 的回复,回复为"error": "unknown_error"。如何解决?
【问题讨论】:
标签: rest authentication keycloak access-token keycloak-rest-api