[nuxt-vuefire]: using GOOGLE_APPLICATION_CREDENTIALS env variable 9:26:39 AM
[9:26:39 AM] [nuxt-vuefire]: Unknown Error - FirebaseAuthError: Firebase ID token has invalid signature. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token. 9:26:37 AM
at FirebaseTokenVerifier.mapJwtErrorToAuthError (/Users/gsid/Work/public/nuxt-auth-test/node_modules/firebase-admin/lib/auth/token-verifier.js:266:20)
at /Users/gsid/Work/public/nuxt-auth-test/node_modules/firebase-admin/lib/auth/token-verifier.js:246:24
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errorInfo: {
code: 'auth/argument-error',
message: 'Firebase ID token has invalid signature. See https://firebase.google.com/docs/auth/admin/verify-id-tokens for details on how to retrieve an ID token.'
},
codePrefix: 'auth'
}
I updated the instructions, it requires you to have a GOOGLE_APPLICATION_CREDENTIALS env variable. Make sure to also update vuefire and nuxt-vuefire to latest
Reproduction
When using with Nuxt 3 and vuefire, the authentication is not working. Just followed the instructions in the documentation.
Steps to reproduce the bug
Follow the instruction in the docs
Here are files,
Expected behavior
Should authenticate with no problems
Actual behavior
Shows an error,
Additional information