<div dir="ltr">Hi Bruno,<div><br></div><div>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. </div><div><br></div><div>If that proves not to be possible then yes, a required action could be viable workaround.</div><div><br></div><div>Cheers,</div><div>Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-07-28 16:31 GMT+02:00 Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Tom,<br>
<br>
I believe that what you're looking for is to setup a required action for<br>
your user[1]. Where a required action, could be "UPDATE_PASSWORD", for<br>
example.<br>
<br>
<br>
[1] - <a href="http://www.keycloak.org/docs/rest-api/index.html#_update_required_action" rel="noreferrer" target="_blank">http://www.keycloak.org/docs/rest-api/index.html#_update_required_action</a><br>
<span class=""><br>
On 2016-07-28, Tom Pearson wrote:<br>
> Hi,<br>
><br>
> Is there a way in the Rest Api to initiate the forgot password flow passing<br>
> over the username? Ideally the same thing the<br>
</span>> */auth/realms/{realm}/login-actions/reset-credentials...<br>
> *form does.<br>
><br>
> I know the */admin/realms/{realm}/users/{id}/reset-password *endpoint<br>
<span class="">> exists but I can't even use it as a workaround as passing temporary=true<br>
> doesn't seem to force the user to reset their password on subsequent login.<br>
><br>
> Would be great if something like<br>
</span>> */admin/realms/{realm}/users/{id}/forgot-password<br>
> *were to exist.<br>
><br>
> Best regards,<br>
> Tom<br>
<br>
> _______________________________________________<br>
> keycloak-user mailing list<br>
> <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/keycloak-user" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-user</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
PGP: 0x84DC9914<br>
</blockquote></div><br></div>