.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/agent-skills/firebase-auth-basics
home/skills/firebase/agent-skills/firebase-auth-basics
firebase avatar

firebase-auth-basics

byfirebase· 35 skills

Installs

116k

Stars

389

Forks

76

Category

Backend & APIs

View on GitHub

TL;DR

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

How to install firebase-auth-basics?

firebase/agent-skills/firebase-auth-basics
$npx -y skills add firebase/agent-skills --skill firebase-auth-basics

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/firebase/agent-skills" --skill "firebase/agent-skills/firebase-auth-basics"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/firebase/agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/firebase/agent-skills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1## Prerequisites
2 
3- **Firebase Project**: Created via
4 `npx -y firebase-tools@latest projects:create` (see `firebase-basics`).
5- **Firebase CLI**: Installed and logged in (see `firebase-basics`).
6 
7## Core Concepts
8 
9Firebase Authentication provides backend services, easy-to-use SDKs, and
10ready-made UI libraries to authenticate users to your app.
11 
12### Users
13 
14A user is an entity that can sign in to your app. Each user is identified by a
15unique ID (`uid`) which is guaranteed to be unique across all providers. User
16properties include:
17 
18- `uid`: Unique identifier.
19- `email`: User's email address (if available).
20- `displayName`: User's display name (if available).
21- `photoURL`: URL to user's photo (if available).
22- `emailVerified`: Boolean indicating if the email is verified.
23 
24### Identity Providers
25 
26Firebase Auth supports multiple ways to sign in:
27 
28- **Email/Password**: Basic email and password authentication.
29- **Federated Identity Providers**: Google, Facebook, Twitter, GitHub,
30 Microsoft, Apple, etc.
31- **Phone Number**: SMS-based authentication.
32- **Anonymous**: Temporary guest accounts that can be linked to permanent
33 accounts later.
34- **Custom Auth**: Integrate with your existing auth system.
35 
36Google Sign In is recommended as a good and secure default provider.
37 
38### Tokens
39 
40When a user signs in, they receive an ID Token (JWT). This token is used to
41identify the user when making requests to Firebase services (Realtime Database,
42Cloud Storage, Firestore) or your own backend.
43 
44- **ID Token**: Short-lived (1 hour), verifies identity.
45- **Refresh Token**: Long-lived, used to get new ID tokens.
46 
47## Workflow
48 
49### 1. Provisioning
50 
51#### Option 1. Enabling Authentication via CLI
52 
53Only Google Sign In, anonymous auth, and email/password auth can be enabled via
54CLI. For other providers, use the Firebase Console.
55 
56Configure Firebase Authentication in `firebase.json` by adding an 'auth' block:
57 
58```
59{
60 "auth": {
61 "providers": {
62 "anonymous": true,
63 "emailPassword": true,
64 "googleSignIn": {
65 "oAuthBrandDisplayName": "Your Brand Name",
66 "supportEmail": "support@example.com",
67 "authorizedRedirectUris": ["https://example.com", "http://localhost"]
68 }
69 }
70 }
71}
72```
73 
74> [!NOTE] If the Google Sign-In popup opens and immediately closes with the
75> error `[firebase_auth/unauthorized-domain]`, it means the domain is not
76> authorized. For local development, ensure `localhost` is included in the
77> **Authorized Domains** list in the Firebase Console or via the
78> `authorizedDomains` field in `firebase.json`. **CRITICAL**: Do NOT include the
79> protocol or port number in the Authorized Domains list (e.g., use `localhost`,
80> NOT `http://localhost:9090`).
81 
82**CRITICAL**: After configuring `firebase.json`, you MUST deploy the auth
83configuration to the Firebase backend for the changes to take effect. This is
84essential for auth providers like Google Sign-In, email/password, etc. to
85auto-generate the necessary OAuth clients for your app platforms. Run:
86 
87```bash
88npx -y firebase-tools@latest deploy --only auth
89```
90 
91#### Option 2. Enabling Authentication in Console
92 
93Enable other providers in the Firebase Console.
94 
951. Go to the
96 https://console.firebase.google.com/project/_/authentication/providers
971. Select your project.
981. Enable the desired Sign-in providers (e.g., Email/Password, Google).
99 
100### 2. Client Setup & Usage
101 
102**Web** See [references/client_sdk_web.md](references/client_sdk_web.md).
103 
104**Flutter** See [references/flutter_setup.md](references/flutter_setup.md).
105**Android (Kotlin)** See
106[references/client_sdk_android.md](references/client_sdk_android.md).
107 
108### 3. Security Rules
109 
110Secure your data using `request.auth` in Firestore/Storage rules.
111 
112See [references/security_rules.md](references/security_rules.md).

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass
  • Runlayerpass
  • ZeroLeakspass

Preview

firebase/agent-skillsfirebase/agent-skills

$ npx -y skills add firebase/agent-skills --skill firebase-auth-basics

▸ installing to .claude/skills…

✓ firebase-auth-basics ready

Repofirebase/agent-skills
TypeSkills
CategoryBackend & APIs
ForDeveloperOps
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. microsoft avatarazure-messagingTroubleshoot and resolve issues with Azure Messaging SDKs for Event Hubs and Service Bus.SkillsJul 2026473k1.3k
  2. larksuite avatarlark-openapi-explorer飞书/Lark 原生 OpenAPI 探索:从官方文档库中挖掘未经 CLI 封装的原生 OpenAPI 接口。当用户的需求无法被现有 lark-* skill 或 lark-cli 已注册命令满足,需要查找并调用原生飞书 OpenAPI 时使用。SkillsJul 2026386k16k
  3. larksuite avatarlark-skill-maker创建 lark-cli 的自定义 Skill。当用户需要把飞书 API 操作封装成可复用的 Skill(包装原子 API 或编排多步流程)时使用。SkillsJul 2026385k16k
  4. mattpocock avatarimplementImplement a piece of work based on a spec or set of tickets.SkillsJul 2026237k189k
  5. supabase avatarsupabaseUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client…SkillsJul 2026188k2.4k
  6. firebase avatarfirebase-basicsProvides foundational setup, authentication, and project management workflows for Firebase using the Firebase CLI.SkillsJul 2026117k389