-
Notifications
You must be signed in to change notification settings - Fork 389
Firebase appcheck token verification fails because the sdk can't retrieve JWKS #2913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I found a few problems with this issue:
|
working now |
+1 After 15 min - working |
yip, it's back online for me too. It was offline 5-6 hours in total |
Hey folks, glad to hear that this issue is resolved now. const decodedToken = await configs.admin.auth().verifyIdToken(idToken);
const uid = decodedToken?.uid;
|
calling this:
const decodedToken = await configs.admin.auth().verifyIdToken(idToken);
const uid = decodedToken?.uid;
returns this error:
Failed to validate AppCheck token. FirebaseAppCheckError: Error fetching Json Web Keys: socket hang up
at AppCheckTokenVerifier.mapJwtErrorToAppCheckError (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-admin/lib/app-check/token-verifier.js:144:16)
at /layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-admin/lib/app-check/token-verifier.js:119:24
at async checkAppCheckToken (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-functions/lib/common/providers/https.js:355:28)
at async /layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-functions/lib/common/providers/https.js:283:33
at async Promise.all (index 1)
at async checkTokens (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-
This started happening in the last 2-3 hours.
The text was updated successfully, but these errors were encountered: