App Check on the server encounters an error while signing a custom token. nuxt-vuefire #1406
-
Hi everyone, I am encountering this issue with my Nuxt 3 vue fire app which has been deployed to a Firebase cloud function. Has anyone else encountered this? I am on the blaze plan and have configured my ReCaptchaV3 keys correctly and added my domain. Locally everything works fine.
I have triple checked my nuxt config and have followed the nuxt guide for vue fire but cannot seem to resolve this issue. Does anyone have any insight into what I may be doing wrong here? This is my config for nuxt-vuefire:
This is what I am using to retrieve the data inside my script setup:
Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The |
Beta Was this translation helpful? Give feedback.
The
ERROR Error getting AppCheck token from the server: Error returned from server while signing a custom token: Permission 'iam.serviceAccounts.signBlob'
suggests that you are missing a permission to set in Google Cloud: https://firebase.google.com/docs/auth/admin/create-custom-tokens#service_account_does_not_have_required_permissions