Skip to content

Add password validation for user with unverified email #8896

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
mtrezza opened this issue Jan 17, 2024 · 1 comment · Fixed by #8895
Closed
3 tasks done

Add password validation for user with unverified email #8896

mtrezza opened this issue Jan 17, 2024 · 1 comment · Fixed by #8895
Labels
type:feature New feature or improvement of existing feature

Comments

@mtrezza
Copy link
Member

mtrezza commented Jan 17, 2024

New Feature / Enhancement Checklist

Current Limitation

It's currently not possible to verify a user password if email verification is required and the user's email has not been verified. Even when using the master key, a request to REST API /verifyPassword fails with Parse error 205.

Feature / Enhancement Description

Introduce new request option ignoreEmailVerification that together with the master or maintenance key allows to verify a user password ignoring the email verification status.

Example Use Case

It may be necessary to verify a user password irrespective of email verification status, for example to allow a user to change an incorrectly entered email that could not be verified because it is incorrect. A developer can write a Cloud Function that does just that.

Alternatives / Workarounds

Use maintenance key and compare hashed passwords, which is discouraged for many reasons.

Copy link

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature or improvement of existing feature
Projects
None yet
1 participant