You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building my Nuxt 3 App in SSR mode and Firebase auth.
I got an Hydratation issue, don't understand why.
Going trough a deeper inspection detect vuefire do not manage properly firebase guest users.
Simple snippet to in default.vue layout in order to reproduce
<script setup lang="ts">
import { getAuth, sendSignInLinkToEmail, signInWithEmailAndPassword } from 'firebase/auth'
import type { MenuItem } from 'primevue/menuitem'
const currentUser = await getCurrentUser()
console.log('currentUser', currentUser.uid, currentUser.isAnonymous)
Reproduction
Check snippet below
Steps to reproduce the bug
I'm building my Nuxt 3 App in SSR mode and Firebase auth.
I got an Hydratation issue, don't understand why.
Going trough a deeper inspection detect vuefire do not manage properly firebase guest users.
Simple snippet to in default.vue layout in order to reproduce
nuxt.config.ts vuefire module configuration
Expected behavior
I expect to have a proper guest user also in SSR
Actual behavior
From image you can see a mismatch between SSR and client

Additional information
No response
The text was updated successfully, but these errors were encountered: