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
- Turn on Authentication: Vovy opens your project in the Firebase console, goes to Build, Authentication, and clicks Get started.
- 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.
- Authorize your domains: Vovy adds your live domain under Settings, Authorized domains. Missing it causes the "auth/unauthorized-domain" error.
- 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.
- 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 guideLoading...