Watch: Add login to my app with Firebase Authentication | Vovy

Watch Vovy do it on a Mac: "Set up Firebase Auth with email and Google sign-in". Vovy turns on Firebase Authentication, enables email and Google sign-in, authorizes your domains, and wires the login into your app.

"Set up Firebase Auth with email and Google sign-in"

Vovy turns on Firebase Authentication, enables email and Google sign-in, authorizes your domains, and wires the login into your app.

What happens in the video

  1. Turn on Authentication: Vovy opens your project in the Firebase console, goes to Build, Authentication, and clicks Get started.
  2. Enable sign-in methods: On the Sign-in method tab it turns on Email/Password and Google, and sets your support email for the Google consent screen.
  3. Authorize your domains: Vovy adds your live domain under Settings, Authorized domains. Missing it causes the "auth/unauthorized-domain" error.
  4. Wire it into your app: In Cursor it adds your Firebase config, sign in and sign up forms, a Google button using signInWithPopup, and a listener for the logged-in user.
  5. Test and show users: It signs up with email and Google in Chrome and shows both accounts on the Users tab.
Read the step-by-step guide