I am using the latest keycloak image in docker and can access the standard admin console at http://localhost:9080. However, I cant seem to access any of the paths specified in the documentation for Admin REST api. For instance, the base path /auth and Resource Get clients belonging to the realm Returns a list of clients belonging to the realm: /{realm}/clients I am getting a 404. So is for any other method in the documentation. The only path returning a valid 200 json response is http://localhost:9080/auth/realms/{realm-name}/ which according to the documentation be reachable at basepath + "/{realm-name}". Am I missing something or trying to access with a wrong base path. The keycloak version in docker is 3.4.3.Final which is the latest version of keycloak according to the documentation.
相关问题
- Disable Keycloak authentication for a specific url
- Keycloak secured Spring Boot Application: Try to c
- keycloak keep on refreshing after login
- Keycloak Docker container fails to start after res
- Keycloak uma-grant type tickets for service accoun
相关文章
- Didn't find publicKey for kid ,Keycloak?
- Keycloak Admin Client within Quarkus - java.lang.I
- Keycloak for ionic app : keycloak-js with cordova-
- Keycloak Integration with Spring Boot
- Keycloak Remove First Name and Last Name fields on
- How to test Keycloak authentication in Spring Boot
- Keycloak - direct user link registration
- Keycloak 4.0.0 Beta 2 with Spring Boot 2
I'm almost sure you are trying to call the endpoint like this:
However, you've missed this part
/auth/admin/realms
Please, don't forget to authorize your call first as stated here
UPDATE
Here are my steps to see the results:
Getting
access_token
:Copy and paste obtained
access_token
toAuthorization
header: