John Chen

Build Applications from Website to Mobile

Firebase Email Passwordless Link Authentication

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

View the Site | GitHub | Expo Publish | GitHub(Mobile)

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 Passwordless Link is used to authenticate users.
  • 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 apps through the Expo Publish Link with Expo Go app.

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

Screenshot of the Website AppScreenshot of the Mobile App