firebase-auth-basics

Installation
Summary

Set up Firebase Authentication with multiple identity providers and secure data access.

  • Supports email/password, phone number, anonymous, federated providers (Google, Facebook, Twitter, GitHub, Microsoft, Apple), and custom auth integration
  • Users are identified by unique UIDs with optional properties including email, display name, photo URL, and email verification status
  • Authentication via CLI enables Google Sign In, anonymous auth, and email/password; other providers require Firebase Console configuration
  • Issues short-lived ID tokens (JWTs) for service requests and long-lived refresh tokens for token renewal
  • Secure data access through Firestore and Cloud Storage rules using request.auth for permission enforcement
SKILL.md

Prerequisites

  • Firebase Project: Created via npx -y firebase-tools@latest projects:create (see firebase-basics).
  • Firebase CLI: Installed and logged in (see firebase-basics).

Core Concepts

Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI libraries to authenticate users to your app.

Users

A user is an entity that can sign in to your app. Each user is identified by a unique ID (uid) which is guaranteed to be unique across all providers. User properties include:

  • uid: Unique identifier.
  • email: User's email address (if available).
  • displayName: User's display name (if available).
  • photoURL: URL to user's photo (if available).
  • emailVerified: Boolean indicating if the email is verified.
Related skills
Installs
758
Repository
firebase/skills
GitHub Stars
276
First Seen
Feb 11, 2026