Skip to content

Example showcasing authentication in Nuxt with Firebase.

Notifications You must be signed in to change notification settings

Eckhardt-D/nuxt-fire-auth

Repository files navigation

Authenticating users with Firebase and Nuxt SSR

Relevant directories:

  • store/index.js

    nuxtServerInit checks for the cookie, and sets user to store on server.

  • store/users/index.js

    Where login action happens and JWT cookie from Firebase is set.

  • middleware/authenticated.js

    Where routes are authenticated and redirects happen if !user.

  • pages/index.vue

    Where the login form resides.

About

Example showcasing authentication in Nuxt with Firebase.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published