[keycloak-user] URLs in REST API Documentation

Gareth Western gareth.western+listman at gmail.com
Tue Dec 18 07:54:21 EST 2018


I'm reading about the REST API and in the documentation (e.g.
https://www.keycloak.org/docs-api/4.6/rest-api/index.html#_users_resource)
it mentions
that the "BasePath" is "/auth"

So, for example, to get a list of all users for a realm the URL is
documented as "/{realm}/users". This implies that the full URL would be
something like GET "http://localhost:8080/auth/{realm}/users" however this
returns a 404. All other examples and questions about getting a user
seem to use the "admin/realms/{realm}/users" url (i.e. "
http://localost:8080/auth/admin/realms/{realm}/users"). Is the
documentation incorrect?

Kind regards,

Gareth


More information about the keycloak-user mailing list