Nuxt3 - Firebase: Error (auth/login-blocked), Production only! #1405
-
On development everything works fine but when I build or generate, in both cases, on production I'm not able to authenticate and get this error:
When user registers , I see that in firebase user has successfully added but on the client side throws the error above. Has anyone experienced error like this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I just deployed a Nuxt 3 site last night to Netlify and have the same issue; when a user attempts to sign in, a "auth/login-blocked" error occurs. This only happens in production, built site locally and ran it in production mode to rule out anything to do with Netlify. This is the details shown with the error: "Error minting cookie: credential implementation provided to initializeapp() via the "credential" property failed to fetch a valid google oauth2 access token with the following error: "error fetching access token: error while making request: getaddrinfo enotfound metadata.google.internal. error code: enotfound". Will be creating a barebones Nuxt project with Vuefire to see if this issue still occurs. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: I disabled SSR and redeployed my site and everything works as it should now. I guess this is a temp fix for now. |
Beta Was this translation helpful? Give feedback.
I opened an issue here: #1408.