jac-uk / assessments

Vue SPA for collecting assessments from independent assessors
MIT License
0 stars 0 forks source link

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

Open KoWeiJAC opened 4 days ago

KoWeiJAC commented 4 days ago

How to reproduce

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

drieJAC commented 4 days ago

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