https://github.com/jglchen/firebase-auth
An authentication system with Firebase using a signed and encrypted cookie to store session data.
https://github.com/jglchen/firebase-auth
docker firebase firebase-auth nextjs reactjs typescript
Last synced: 2 months ago
JSON representation
An authentication system with Firebase using a signed and encrypted cookie to store session data.
- Host: GitHub
- URL: https://github.com/jglchen/firebase-auth
- Owner: jglchen
- Created: 2023-01-08T13:18:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-29T06:48:19.000Z (about 2 years ago)
- Last Synced: 2025-12-30T21:25:00.848Z (6 months ago)
- Topics: docker, firebase, firebase-auth, nextjs, reactjs, typescript
- Language: TypeScript
- Homepage: https://firebase-auth-rust.vercel.app
- Size: 5.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://swr.vercel.app/) 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](https://expo.dev/accounts/jglchen/projects/firebase-auth/builds/da8ba431-1739-4dd2-8735-2a2a65836d18) and [Android Internal Distribution Build](https://expo.dev/accounts/jglchen/projects/firebase-auth/builds/987f6f8c-d8bd-41f0-95d0-43be634e3bf2). If the build storage link has expired, please go to [https://projects-jglchen.vercel.app/en/contact](https://projects-jglchen.vercel.app/en/contact) to request build files.
### [View the App](https://firebase-auth-rust.vercel.app)
### [App GitHub](https://github.com/jglchen/firebase-auth)
### Docker: docker run -p 3000:3000 jglchen/firebase-auth
### [iOS Simulator Build](https://expo.dev/accounts/jglchen/projects/firebase-auth/builds/da8ba431-1739-4dd2-8735-2a2a65836d18)
### [Android Internal Distribution Build](https://expo.dev/accounts/jglchen/projects/firebase-auth/builds/987f6f8c-d8bd-41f0-95d0-43be634e3bf2)
### [React Native GitHub](https://github.com/jglchen/react-native-firebase-auth)