NextFire main logoNextFire
Docs X
Introduction
Get Started
Clone repo
Run the app
Configuration
Firebase
Create firebase app
Authentication
Firestore
Storage
Functions
Global configuration
Public
Site config
Payments
Stripe
One time
Subscriptions
Webhooks
Usage
Project structure
Static pages
Public pages
Protected pages
Auth
Client auth
Server auth
Data fetching
Firestore client
Firestore admin
Functions
Storage
Content
Blog
Documentation
Components
Markdown
Cards
Diagrams
Filetree
Lists
Maths
Notes
Steps
Table
Tabs
Public
Deep
Deeper
Even deeper
  1. Firebase
  2. Authentication

Enable Authentication

Step-by-step guide to setting up Firebase Authentication with Google Sign-In, Email/Password, and Magic Link.

You’ll need to enable Firebase Authentication in your project. We’ll go step-by-step using the Firebase Console to enable Google Sign-In, Email/Password, and Magic Link login methods.


1

Go to the Firebase Console

  1. Visit https://console.firebase.google.com.
  2. Select your project.

Firebase Project Dashboard (Add screenshot: Firebase console project homepage)

2

Navigate to Authentication

In the left sidebar of your Firebase dashboard:

  1. Click “Create” → “Authentication”.
  2. Then click “Start”. This will open the Authentication setup panel.

Firebase Authentication Section (Add screenshot: Firebase dashboard with Authentication menu highlighted)

3

Enable Google Sign-In

  1. Under the Sign-in providers tab, click the “Add new provider” button or find Google in the list.
  2. Click Google → Enable the toggle.
  3. You’ll be asked to set up:
    • A Project public name (this is the name shown to users when signing in).
    • A Support email address (used for communication and recovery).

Once done, click Save.

Enable Google Auth Screen (Add screenshot: Google authentication setup screen with public name and support email fields)

4

Enable Email and Password Login

Next, let’s allow users to log in using their email and password.

  1. Still in the Sign-in providers section, click Email/Password.
  2. Enable:
    • ✅ Email/Password
    • ✅ Email link (passwordless sign-in).
  3. Click Save.

Email and Password Setup Screen (Add screenshot: Email/Password provider setup screen with toggles on)

5

Add your domain to authorized domains

  • Add your domain to authorized domains. If you still didn't have a domain name, you can do this later.
  • Localhost is authorized by default.
  1. Go to https://console.firebase.google.com.
  2. Select your project.
  3. Go to authentication -> Settings -> Authorized domains
  4. Add your domain: yourdomain.com

✅ Summary

You’ve successfully enabled authentication for your Firebase project! You can now allow users to sign in with:

  • Google Sign-In
  • Email and Password
  • Magic Link (Passwordless)
Create firebase appFirestore

On this page

✅ Summary

Content

FeedbackEdit page

© 2025 Ship IT.

Rubix Studios logo