Skip to content

v3.5.1

Compare
Choose a tag to compare
@lupas lupas released this 09 Dec 17:30
· 800 commits to master since this release
36a786d

✨ 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 validated authUser object can then be accessed in nuxtServerInit.
// 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.

‼️ Careful: This feature is experimental, feel free to test it out but don't expect it to work perfectly in all cases. Please report an issue if you have question or problems with it.

  • 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()