An open API service indexing awesome lists of open source software.

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

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