Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keycloak endpoints for user registration, password reset, forgot password etc

I'm creating a mobile application that uses a server to store data into. I am also creating web application that will function as a restful database service for my mobile application.

I plan to use Keycloak for my user management and authentication (Oauth2) of my mobile. I understand that Keycloak has an endpoint for user registration but it requires the mobile app to redirect to the keycloak server url. If possible I would like to avoid this and do all the process within the mobile application. Also, I'm unaware of the other endpoints such as password reset and forgot password. Would anyone know?

like image 446
ads Avatar asked Aug 22 '15 07:08

ads


People also ask

How do I find the password for a Keycloak?

Click Users, then view all users and then select ID of admin user. Click on the Credentials tab. The password can be changed for admin(keycloak) user in this screen.


1 Answers

You need to use the admin API to include it in your mobile app. Personally I think this is a bad idea to do it directly on the client, because you need to store the credentials of an admin on the mobile as well. Maybe it is an option for you to have backend application, which handles your password forgot use cases and include it in your mobile app.

This seems to be related to this question: Is there an API call for changing user password on keycloak?.

  • Admin REST Api: http://keycloak.github.io/docs/rest-api/index.html
  • Endpoints for clients: /auth/realms/{client-id}/.well-known/openid-configuration
like image 104
Barny Avatar answered Oct 23 '22 05:10

Barny