Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Method to initiate the reset password mechanism #2

Closed
Nerzal opened this issue Jan 24, 2019 · 0 comments
Closed

Add Method to initiate the reset password mechanism #2

Nerzal opened this issue Jan 24, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Nerzal
Copy link
Owner

Nerzal commented Jan 24, 2019

Is your feature request related to a problem? Please describe.
The problem is easy. It's a missing feature.

Describe the solution you'd like
As described here we can trigger the "reset password" mechanism by calling the given URL.

Rather than specifying a new password manually a better security practice is to use the PUT /admin/realms/{realm}/users/{id}/execute-actions-email admin call with "UPDATE_PASSWORD" as the required action. This causes Keycloak to send an email to the user that gives a link for the user to set a new password.

Documentation:
https://www.keycloak.org/docs-api/4.8/rest-api/index.html#_users_resource

@Nerzal Nerzal added the enhancement New feature or request label Jan 24, 2019
@Nerzal Nerzal assigned Nerzal and baba2k and unassigned Nerzal Feb 19, 2019
@Nerzal Nerzal closed this as completed in 2a28ab6 Feb 20, 2019
Nerzal added a commit that referenced this issue Feb 20, 2019
Add execute actions email func which closes #2
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 2, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 3, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 4, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 4, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 4, 2019
HairyMike pushed a commit to HairyMike/gocloak that referenced this issue Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants