User Creation with Keycloak REST API

Hi!

We are using our Custom Login/Registration page on frontend side (I know that we can change css of Keycloak login page but still) How to register a user via Keycloak REST API?

The path from docs: https://www.keycloak.org/docs-api/7.0/rest-api/#_users_resource is not working for me.(POST to host:port/{realm_name}/users with UserRepresantation in body).

Thanks.

Hi,
I am facing the same issue, any updates on that? Can you please share?
Thanks

Yeah, I will show you with request for getting all users:
Authorization Header : “Bearer xxxxxxx” (token signed as realm admin, this is credentials you use to register into Admin Console)
URL: https://{SERVER:PORT}/auth/admin/realms/{REALM-NAME}/users
Method: GET