You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I am using app check with reCAPTCHA Enterprise and Cloud Firestore enforced on my webapp.
I also set the token TTL to 30 minutes.
I noticed that after a while when the browser idle, I am getting "FirebaseError: Missing or insufficient permissions." and can't query the DB anymore.
refresh fixes it..
so I believe it is because the token isn't valid anymore, although I enabled auto refresh.
this is the code I am using
const appCheck = initializeAppCheck(app, {
provider: new ReCaptchaEnterpriseProvider(appCheckRecaptchaKey),
isTokenAutoRefreshEnabled: true // Set to true to allow auto-refresh.
});