#Nuxt 3.15.3 CORS change error with Firebase Auth

3 messages · Page 1 of 1 (latest)

stuck duneBOT
#

Hi @serene narwhal. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the knowledge sources provided, I don't have enough specific information to directly answer your question about the CORS change in Nuxt 3.15.3 affecting Firebase Auth. However, I can provide some relevant insights and suggestions based on the available information:

  1. The changelog for Nuxt 3.15.3 doesn't mention any specific CORS-related changes that would affect Firebase Auth Github Pull Request. The changes listed are mostly related to performance improvements and fixes for unrelated issues.

  2. There have been reports of issues with Firebase Auth in Nuxt 3 applications, particularly when deployed. For example, one user reported a "FirebaseError: Firebase: Error (auth/login-blocked)" issue Stack Overflow Post. In that case, the problem was resolved by removing the VueFire package.

  3. If you suspect it's related to CORS, you might want to check your browser's console for any specific CORS-related error messages. These could provide clues about which domains are being blocked.

  4. As a workaround, you could try disabling some experimental features to see if it resolves the issue. For example:

    // nuxt.config.ts
    export default defineNuxtConfig({
      experimental: {
        appManifest: false,
      }
    })
    

    This has been suggested as a workaround for other issues in Nuxt 3.15.x Github Issue Comment.

  5. If the issue persists, you might want to try clearing your build cache. You can do this by removing the .nuxt and .output directories, and running npm clean-install (or your package manager's equivalent) before rebuilding.

#
  1. If none of these suggestions help, you might consider temporarily reverting to Nuxt 3.15.2 until a fix is found or more information becomes available.

To further investigate the issue, you could try to isolate the problem by creating a minimal reproduction of the error. This could help identify whether the issue is specific to your project configuration or a more general problem with Nuxt 3.15.3 and Firebase Auth.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: