[keycloak-user] Forgot Password Rest Api Endpoint

Tom Pearson tpearson at bkool.com
Thu Jul 28 10:35:55 EDT 2016


Hi Bruno,

Not exactly, ideally I'd like to send a username over to Keycloak and have
it send the appropriate email to the user as the forgot your password page
does.

If that proves not to be possible then yes, a required action could be
viable workaround.

Cheers,
Tom

2016-07-28 16:31 GMT+02:00 Bruno Oliveira <bruno at abstractj.org>:

> Hi Tom,
>
> I believe that what you're looking for is to setup a required action for
> your user[1]. Where a required action, could be "UPDATE_PASSWORD", for
> example.
>
>
> [1] -
> http://www.keycloak.org/docs/rest-api/index.html#_update_required_action
>
> On 2016-07-28, Tom Pearson wrote:
> > Hi,
> >
> > Is there a way in the Rest Api to initiate the forgot password flow
> passing
> > over the username? Ideally the same thing the
> > */auth/realms/{realm}/login-actions/reset-credentials...
> > *form does.
> >
> > I know the */admin/realms/{realm}/users/{id}/reset-password *endpoint
> > exists but I can't even use it as a workaround as passing temporary=true
> > doesn't seem to force the user to reset their password on subsequent
> login.
> >
> > Would be great if something like
> > */admin/realms/{realm}/users/{id}/forgot-password
> > *were to exist.
> >
> > Best regards,
> > Tom
>
> > _______________________________________________
> > keycloak-user mailing list
> > keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
> --
>
> abstractj
> PGP: 0x84DC9914
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160728/3b5a75ea/attachment.html 


More information about the keycloak-user mailing list