v3.5.1
✨ New
- Added SSR option to Firebase Auth:
This option automatically creates a service worker and a serverMiddleware that handle token refresh on client side and token validation on server side. The validatedauthUser
object can then be accessed innuxtServerInit
.
// In the nuxt.config.js nuxt-fire settings:
auth: {
initialize: {
ssr: true
}
},
For more information check out the Firebase Auth in SSR/Universal Mode Tutorial.
- Added SSR option to Firebase Auth:
⚙️ Maintenance
- Docs: Split up Helpers & Advanced in two categories
🐜 Bug Fixes
- Fixed bug in error handling of
fireStore.enablePersistence()