Skip to content
Nuxt.js using SSR and Firebase with Authentication
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
components
layouts
middleware updating repo Nov 7, 2017
pages
plugins
serverMiddleware
services possibly working version Nov 1, 2017
static
store
.editorconfig
.env
.eslintrc.js
.firebaserc
.gitignore
README.md
firebase.json
nuxt-firebase-authentication.jpg
nuxt.config.js testing web-font-loader live Nov 9, 2017
package.json
yarn.lock

README.md

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

You can’t perform that action at this time.