He seguido el tutorial oficial de instalación de verificación de la aplicación Firebase:
https://firebase.google.com/docs/app-check/web/recaptcha-enterprise-provider
Y solo recibo errores.
const appCheck = initializeAppCheck(firebaseApp, { provider: new ReCaptchaEnterpriseProvider( "my_recaptcha_key_here" ), isTokenAutoRefreshEnabled: true, // Set to true to allow auto-refresh. });De acuerdo con el tutorial, eso es todo lo que necesitas hacer.
RESULTADO:
No puedo acceder a nada desde firestore, obtengo:
@firebase/app-check: FirebaseError: AppCheck: ReCAPTCHA error. (appCheck/recaptcha-error).Al subir al almacenamiento, obtengo:
@firebase/app-check: FirebaseError: AppCheck: Fetch server returned an HTTP error status. HTTP status: 403. (appCheck/fetch-status-error).¿Por qué sucede esto, he realizado todos los pasos del tutorial?