Skip to content

Conversation

grushabshah
Copy link

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.

…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.
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