Skip to content

jglchen/firebase-auth

Repository files navigation

Firebase Authentication

This example creates an authentication system that uses a signed and encrypted cookie to store session data. It uses current best practices as for authentication in the Next.js ecosystem, we use useUser custom hook together with swr for data fetching.

  • Firebase Authentication with Email/Password, Google Sign In, GitHub Sign In, and Email Sign In available to authenticate users.
  • The emails registered in Firebase Authentication are saved in a separate database for future data development of individual users, for this illustration Firestore Database.
  • Session data is signed and encrypted in a cookie.

iOS and Android mobile apps are also delivered. The apps are developed with React Native, anyone who is interested can test the development builds with iOS Simulator Build and Android Internal Distribution Build. If the build storage link has expired, please go to https://projects-jglchen.vercel.app/en/contact to request build files.

Docker: docker run -p 3000:3000 jglchen/firebase-auth

About

An authentication system with Firebase using a signed and encrypted cookie to store session data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published