[keycloak-user] Forgot Password Rest Api Endpoint

Bruno Oliveira bruno at abstractj.org
Thu Jul 28 11:53:37 EDT 2016


Gotcha, in this case, I would look at this[1].

[1] - https://github.com/keycloak/keycloak/blob/master/integration/admin-client/src/main/java/org/keycloak/admin/client/resource/UserResource.java#L87-L107

On 2016-07-28, Tom Pearson wrote:
> 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
> >

--

abstractj
PGP: 0x84DC9914


More information about the keycloak-user mailing list