小编Azh*_*san的帖子

Keycloak Get Users 返回 403 禁止

我使用创建令牌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"。怎么解决呢?

authentication rest access-token keycloak keycloak-rest-api

19
推荐指数
3
解决办法
5万
查看次数