https://github.com/davidroyer/nuxt-ssr-firebase-auth
Nuxt.js using SSR and Firebase with Authentication
https://github.com/davidroyer/nuxt-ssr-firebase-auth
authentication firebase nuxtjs
Last synced: about 1 month ago
JSON representation
Nuxt.js using SSR and Firebase with Authentication
- Host: GitHub
- URL: https://github.com/davidroyer/nuxt-ssr-firebase-auth
- Owner: davidroyer
- Created: 2017-11-07T06:20:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-23T05:58:58.000Z (about 7 years ago)
- Last Synced: 2025-03-25T09:21:59.948Z (about 2 months ago)
- Topics: authentication, firebase, nuxtjs
- Language: JavaScript
- Size: 362 KB
- Stars: 72
- Watchers: 6
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt.js Firebase Auth - SSR Version
This is an example of using Nuxt.js in SSR mode with Firebase Authentication[Live Demo](https://nuxt-ssr-firebase-auth.now.sh)
## 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