0Pricing
Firebase Auth & Realtime Database Apps · Lesson

Account Linking & Provider Management

Let one user own a single account across multiple sign-in methods by linking and unlinking auth providers, handling collisions, and managing linked credentials safely.

The Multi-Provider Problem

The same person may sign in with email/password today and Google tomorrow. Without linking, Firebase could treat these as two separate accounts.

Account linking unifies multiple sign-in methods under one Firebase user (one uid).

How Linking Works

Linking attaches an additional credential to the currently signed-in user. The user keeps the same uid and data, but gains a new way to log in.

  • Email/password can be linked to a social account
  • Multiple social providers can coexist

All lessons in this course

  1. Phone Number Authentication
  2. Multi-Factor Authentication (MFA)
  3. Custom Claims & Security Rules
  4. Account Linking & Provider Management
← Back to Firebase Auth & Realtime Database Apps