Option 1.
On 10 July 2017 at 23:18, Ori Doolman <Ori.Doolman(a)amdocs.com> wrote:
Hi,
I want my application's users to be able to change their password.
My app is a web application using React/Node.JS.
I have 2 options to implement this having the end user interacts directly
with Keycloak (so password will not go through my application):
1) Customize the account theme (ftl) and use the /account endpoint.
In this form the user will enter his old and new password interactively.
2) Use the Keycloak admin REST API from my application server
(Node.JS) and make Keycloak send the user a mail with a link to reset the
password:
PUT /admin/realms/{realm}/users/{id}/execute-actions-email
Once the user clicks the link, he will need to set the new password.
Which of the above is a preferred option ? Or is there any other option ?
Thanks,
Ori.
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at
https://www.amdocs.com/about/email-disclaimer <
https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user