Skip to content

feat(auth): Add MFA with reCAPTCHA Enterprise and App Check example - #912

Draft
grushabshah wants to merge 7 commits into
firebase:masterfrom
grushabshah:recaptcha_enterprise_appcheck
Draft

grushabshah wants to merge 7 commits into
firebase:masterfrom
grushabshah:recaptcha_enterprise_appcheck

Conversation

@grushabshah

Copy link
Copy Markdown
Contributor

This PR introduces a new quickstart example demonstrating how to implement multi-factor authentication (MFA) using SMS, secured by App Check with the reCAPTCHA Enterprise provider.

This also enables users to implement reCAPTCHA SMS defense for SMS-based authentication by enabling SMS Defense configurations in their project.

Key changes include:

Implementation:

  • The new example dynamically loads the reCAPTCHA Enterprise script with the configured Site Key.
  • It initializes App Check with ReCaptchaEnterpriseProvider.

@grushabshah
grushabshah force-pushed the recaptcha_enterprise_appcheck branch 2 times, most recently from 02ec8c6 to 11219b7 Compare February 23, 2026 19:00
@grushabshah
grushabshah force-pushed the recaptcha_enterprise_appcheck branch 2 times, most recently from a5ade8a to 58c2370 Compare March 18, 2026 20:31
…arate code

* This is a copy of existing mfa-password.html and mfa-password.ts file
Version 11.0.0 Added ReCAPTCHA Enterprise support for app verification during phone authentication.

https://firebase.google.com/support/release-notes/js#authentication_5

Updating to the latest available 11.x version.
* Dynamically loads reCAPTCHA enterprise script
* This avoids key duplication and makes future updates easier to manage.
@grushabshah
grushabshah force-pushed the recaptcha_enterprise_appcheck branch from 58c2370 to 95b5dd2 Compare August 27, 2026 22:05
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

Successfully merging this pull request may close these issues.

1 participant