Skip to content

Resetting password automagically sets emailVerified to true #5327

Answered by sam-gc
abhi-dasgupta asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abhi-dasgupta, thanks for reaching out! This is expected behavior, because by resetting the password via an email action, the user has demonstrated that the email is valid and belongs to the account in question. If you wish to avoid this behavior, I would recommend setting your own custom claim for email verification instead of editing/relying on the email_verified field directly

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@abhi-dasgupta
Comment options

@sam-gc
Comment options

Answer selected by sam-gc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants