-
Notifications
You must be signed in to change notification settings - Fork 906
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
Recaptcha public preview #7193
Recaptcha public preview #7193
Conversation
🦋 Changeset detectedLatest commit: f4cff13 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1This report is too large (408,523 characters) to be displayed here in a GitHub comment. Please use the below link to see the full report on Google Cloud Storage.Test Logs |
…e/firebase-js-sdk into recaptcha-public-preview
Hey @kevinthecheung, this pr is to merge the recaptcha enterprise integration from the feature branch to main. The code changes have been reviewed separately, could you help review the docs part? Thanks! CI failure seems not related to this PR. Still investigating. |
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
…e/firebase-js-sdk into recaptcha-public-preview
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
Co-authored-by: Kevin Cheung <kevinthecheung@users.noreply.github.com>
signUpResponse = signUp(authInternal, requestWithRecaptcha); | ||
} else { | ||
signUpResponse = signUp(authInternal, request).catch(async error => { | ||
if (error.code === `auth/${AuthErrorCode.MISSING_RECAPTCHA_TOKEN}`) { |
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.
not blocking this release - we should consider unifying this logic in a single util method somewhere, to which we can pass the action type. That way we implement it once and make enhancements in one place only.
packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts
Outdated
Show resolved
Hide resolved
packages/auth/src/platform_browser/recaptcha/recaptcha_enterprise_verifier.ts
Show resolved
Hide resolved
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.
- Approved for the api.md.
- Make sure to add a changeset (@firebase/auth minor, firebase minor).
- This is the PR that will be traced back to from the changeset and release notes so can you add a description, even if it just points to other PRs that went into this one that have a more detailed description? Maybe a link to the API proposal/design doc (you can say "(internal link)" after it).
Done. |
@hsubox76 Seems I don't have the permission to merge this RP. |
I think it's due to approval not being granted by @kevinthecheung after leaving comments. |
This PR add the support of reCAPTCHA enterprise integration to GCIP / Firebase Auth. For more details, see go/gcip-recaptcha, go/gcip-recaptcha-client-sdk-api (internal linlks).