-
Notifications
You must be signed in to change notification settings - Fork 927
Proceed to reCAPTCHA v2 if unable to get phone enablement state #8500
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
Conversation
|
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ent state (#8500) * Proceed to reCAPTCHA v2 if cannot get phone enablement state * nit: Add a missing period.
Issue
At the beginning of phone auth flow, we initialize the reCAPTCHA Enterprise config in order to check the enablement state. However, if rCE is not enabled for any provider (phone, email),
GetRecaptchaConfig
response will not contain arecaptchaKey
, and this error will eventually be thrown. Therefore, phone auth flows are broken when rCE is not enabled.This PR ignores the above error when failing to initialize rCE config and proceeds to use reCAPTCHA v2 verification.
Test