Home
Softono

Nuxt Ssr Firebase Auth

Open source JavaScript
71
Stars
20
Forks
4
Issues
6
Watchers
8 years
Last Commit

 About Nuxt Ssr Firebase Auth

Nuxt.js using SSR and Firebase with Authentication

Platforms

Web Self-hosted

Languages

JavaScript

Links

Need Help Installing Nuxt Ssr Firebase Auth?

We provide expert installation service for this software. Our team will install, configure, and secure Nuxt Ssr Firebase Auth on your server. plans start at just $30.

Nuxt Ssr Firebase Auth

View on GitHub

Nuxt.js Firebase Auth - SSR Version

This is an example of using Nuxt.js in SSR mode with Firebase Authentication

Live Demo

Files of Importance

  • /plugins/auth-cookie.js
  • /plugins/firebase-client-init.js
  • /services/firebase-admin-init.js
  • /middleware/auth-check.js
  • /store/index.js

Notes

For the Sign-In to work, you will need to add your production site url to the Firebase's Authorized Domains in the Authorization settings of the Firebase Console.

Credits

I got a lot of help understanding what needed to happen by looking at this so special thanks to the contributers of that project! Firebase Function - Handlebars Example