<div dir="ltr">Hi Bruno,<div><br></div><div>Not exactly, ideally I&#39;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">&lt;<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>&gt;</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&#39;re looking for is to setup a required action for<br>
your user[1]. Where a required action, could be &quot;UPDATE_PASSWORD&quot;, 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>
&gt; Hi,<br>
&gt;<br>
&gt; Is there a way in the Rest Api to initiate the forgot password flow passing<br>
&gt; over the username? Ideally the same thing the<br>
</span>&gt; */auth/realms/{realm}/login-actions/reset-credentials...<br>
&gt; *form does.<br>
&gt;<br>
&gt; I know the */admin/realms/{realm}/users/{id}/reset-password *endpoint<br>
<span class="">&gt; exists but I can&#39;t even use it as a workaround as passing temporary=true<br>
&gt; doesn&#39;t seem to force the user to reset their password on subsequent login.<br>
&gt;<br>
&gt; Would be great if something like<br>
</span>&gt; */admin/realms/{realm}/users/{id}/forgot-password<br>
&gt; *were to exist.<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Tom<br>
<br>
&gt; _______________________________________________<br>
&gt; keycloak-user mailing list<br>
&gt; <a href="mailto:keycloak-user@lists.jboss.org">keycloak-user@lists.jboss.org</a><br>
&gt; <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>