Email verification without re-login

we have node js as back end when we update user email address it logout user from frontend
we use ManagementClient to update user email address
{
email,
email_verified: true
}
is there any way to update user email_verification without re-login

Hi @muhammad.awais.77831,

Welcome to the Auth0 Community!

That is the expected behavior. When you update a user’s email address, the user is logged out from your app and asked to provide their credentials to log in again.

You can update the user’s email address and "email_verified": true at the same time, but you will not be able to prevent them from logging out since their session will end after changing the email address.

Please let me know if you have any questions.

Thanks,
Rueben

1 Like

Thanks you for your support “that’s the expected behavior and we can’t prevent user to re-login after email verification”

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.