Skip to content
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

Assessment Link can not sign-in with Email Enumeration Protect On #201

Open
KoWeiJAC opened this issue Nov 22, 2024 · 1 comment
Open

Assessment Link can not sign-in with Email Enumeration Protect On #201

KoWeiJAC opened this issue Nov 22, 2024 · 1 comment
Assignees

Comments

@KoWeiJAC
Copy link
Contributor

How to reproduce

  • Turn off the Firebase > Authentication > User Action > Email Enumeration Protection

Screenshot 2024-11-20 at 19.08.58.png

- Use Assessment links to sign-in

Cause

The fetchSignInMethodsForEmail(auth, user.email) function is used to in sign-in verification,
if the Email Enumeration Protection is on, the function will return empty array, cause the sign-in verification failed.
https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection

Screenshot 2024-11-20 at 18.58.03.png

Screenshot 2024-11-20 at 19.02.42.png

Screenshot 2024-11-20 at 18.57.41.png

Expected

Assessment link can sign-in with Email Enumeration Protect On

@KoWeiJAC KoWeiJAC self-assigned this Nov 22, 2024
@drieJAC
Copy link
Contributor

drieJAC commented Nov 22, 2024

@warrensearle Do you know if we need to make this call to get the sign in methods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants