<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>I am using the following Rest API call on a standalone Keycloak
server (v2.0.0)...<br>
</p>
<p><b>/auth/admin/realms/{realm}/users/{id}/send-verify-email?client_id=XYZ&redirect_uri=abc</b><br>
</p>
The call works almost as expected...<br>
<ul>
<li>sends email with link to users email
(<a class="moz-txt-link-freetext" href="https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=xxx">https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=xxx</a>...)<br>
</li>
<li>the link, when followed, marks the user as 'email verified'
and clears the required action.</li>
<li>events log (event = CUSTOM_REQUIRED_ACTION,
custom_required_action=VERIFY_EMAIL) looks OK and includes the
correct redirect_uri as included in the initiating REST call.<br>
</li>
<li>link can only be used once.</li>
</ul>
<p>BUT the link doesn't redirect back to the redirect_uri as I would
expect. Instead the user browser remains at the emailed link (<a class="moz-txt-link-freetext" href="https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=xxx">https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=xxx</a>...).
<br>
</p>
<p>Am I missing something here ? Am I expecting the wrong behaviour
or is this a bug ?</p>
<p>best rgds,</p>
<p>Steve F.<br>
</p>
<p><br>
</p>
<p>-- <br>
</p>
<div class="moz-signature">===================================================
<p><b>Stephen Flynn</b></p>
<p><b>Director, JF Technology (UK) Ltd</b></p>
<div>
<table style="font-size:smaller; font-family:monospace;">
<tbody>
<tr>
<td style="font-style:italic;text-align:right;">Cell (UK)
: </td>
<td>+44 7768 003 882</td>
</tr>
<tr>
<td style="font-style:italic;text-align:right;">Phone : </td>
<td>+44 20 7833 8346</td>
</tr>
<tr>
<td style="font-style:italic;text-align:right;">IM : </td>
<td><a class="moz-txt-link-abbreviated" href="mailto:xmpp:stephen.flynn@jftechnology.com">xmpp:stephen.flynn@jftechnology.com</a></td>
</tr>
<tr>
<td style="font-style:italic;text-align:right;">IM : </td>
<td><a class="moz-txt-link-abbreviated" href="mailto:aim:stephen.flynn@jftechnology.com">aim:stephen.flynn@jftechnology.com</a></td>
</tr>
<tr>
<td style="font-style:italic;text-align:right;">Website :
</td>
<td><a href="http://www.jftechnology.com">http://www.jftechnology.com</a></td>
</tr>
<tr>
<td style="font-style:italic;text-align:right;">Tech
support : </td>
<td><a href="mailto:support@jftechnology.com">support@jftechnology.com</a></td>
</tr>
</tbody>
</table>
===================================================
<table>
</table>
</div>
</div>
</body>
</html>