[keycloak-user] Email verified doesn't seem to work using REST API

Christina Lau christinalau28 at icloud.com
Fri Aug 29 11:04:38 EDT 2014


I have already set the "Verify email" to On in the admin console under Settings -> Login. That is why I am getting the email for a new user that registers via the UI New User button.

However, I am not getting the same behaviour when I am using the REST API. Is it possible to get the same behaviour?


On Aug 29, 2014, at 10:55 AM, Stian Thorgersen <stian at redhat.com> wrote:

> When you're creating a user through the rest api with emailVerified set to true you're saying the email is verified, not that it needs to be verified.
> 
> To make the user verify the email you need to set "Verify email" to ON in the admin console under Settings -> Login. The next time the user logs he will be requested to verify the email.
> 
> ----- Original Message -----
>> From: "Christina Lau" <christinalau28 at icloud.com>
>> To: keycloak-user at lists.jboss.org
>> Sent: Friday, 29 August, 2014 4:49:52 PM
>> Subject: [keycloak-user] Email verified doesn't seem to work using REST API
>> 
>> Hi, I have my realm enabled for email verification. When I registered a new
>> user using the UI dialog, the user gets an email notification.
>> 
>> However, if I use the REST API to create a new user, even though I set
>> emailVerified to true, the new user that gets added correctly didn’t get an
>> email notification.
>> 
>> Is there an additional REST API I need to call? I can’t find that in the doc.
>> Or is this supposed to be implicit and in that case a bug? Or am I missing
>> some more setup? Thx…
>> 
>> Christina
>> 
>> 
>> _______________________________________________
>> keycloak-user mailing list
>> keycloak-user at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/keycloak-user
>> 




More information about the keycloak-user mailing list