I am using the following Rest API call on a standalone Keycloak server (v2.0.0)...
*/auth/admin/realms/{realm}/users/{id}/send-verify-email?client_id=XYZ&redirect_uri=abc*
The call works almost as expected...
* sends email with link to users email
(
https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=x....)
* the link, when followed, marks the user as 'email verified' and clears the
required action.
* 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.
* link can only be used once.
BUT the link doesn't redirect back to the redirect_uri as I would expect.
Instead the user browser remains at the emailed link
(
https://auth.xyz.com/auth/realms/abc/login-actions/required-action?code=x....).
Am I missing something here ? Am I expecting the wrong behaviour or is this a bug ?
best rgds,
Steve F.
--
===================================================
*Stephen Flynn*
*Director, JF Technology (UK) Ltd*
Cell (UK) : +44 7768 003 882
Phone : +44 20 7833 8346
IM : xmpp:stephen.flynn@jftechnology.com
IM : aim:stephen.flynn@jftechnology.com
Website :
http://www.jftechnology.com
Tech support : support(a)jftechnology.com <mailto:support@jftechnology.com>
===================================================