Created
August 4, 2021 22:54
-
-
Save hiranya911/f072cb10e9357c41e93cffd852c18808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// With App Check JS SDK included as: | |
// <script src="https://www.gstatic.com/firebasejs/9.0.0-beta.7/firebase-app-check-compat.js"></script> | |
const { initializeAppCheck, ReCaptchaV3Provider } = require("firebase/app-check"); | |
const appCheck = initializeAppCheck(app, { | |
provider: new ReCaptchaV3Provider(siteKey), | |
isTokenAutoRefreshEnabled: true | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment