App Check
Nuxt VueFire integrates with Firebase App Check by specifying the appCheck option in nuxt.config.ts:
ts
export default defineNuxtConfig({
// ...
vuefire: {
appCheck: {
debug: process.env.NODE_ENV !== 'production',
isTokenAutoRefreshEnabled: true,
provider: 'ReCaptchaV3',
// Find the instructions in the Firebase documentation, link above
key: '...',
},
},
})You can find more information in the VueFire App Check documentation.
Debug Tokens
Instead of specifying debug: true, you can specify a debug token using Environment variables.