moai-platform-firebase-auth

Provision Firebase Authentication across Google, social, phone, and anonymous providers.

1.2k|214|Updated Sep 16, 2025
One-click install
npx skills add https://github.com/modu-ai/moai-adk --skill moai-platform-firebase-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moai-platform-firebase-auth
Source: https://github.com/modu-ai/moai-adk/tree/main/.claude/skills/moai-platform-firebase-auth
Command: npx skills add https://github.com/modu-ai/moai-adk --skill moai-platform-firebase-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides Firebase Authentication integration across Google ecosystem apps, including social providers, phone authentication, anonymous auth, custom claims, and security rules integration.

Core Features & Use Cases

  • Google Sign-In: Native integration with Google accounts.
  • Social Auth: Facebook, Twitter/X, GitHub, Apple, Microsoft and more.
  • Phone Auth: SMS-based verification and cross-region support.
  • Anonymous Auth: Guest access with upgrade paths.
  • Custom Claims: Role-based access and dynamic permissions.
  • Security Rules Integration: Secure access to Firestore, Storage, and Realtime Database.

When to Use:

  • Building mobile-first apps or serverless backends with Firebase
  • Projects requiring social login or MFA-style flows
  • Secure role-based access and dynamic permissions

Quick Start

Set up Firebase Auth providers (Google, Facebook, Phone) in the Firebase Console and implement sign-in with the Web SDK or mobile SDKs.

Frequently Asked Questions about moai-platform-firebase-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Firebase Authentication for Google Sign-In and social providers?

Firebase Authentication enables Google Sign-In and social login (Facebook, Twitter/X, GitHub, Apple, Microsoft) by configuring providers in the Firebase Console, then implementing sign-in flows with the Web SDK v9+ or mobile SDKs. Each provider requires credential setup in both Firebase and its respective platform console.

Can I use Firebase Auth with phone number verification across multiple regions?

Phone Authentication in Firebase supports SMS-based verification across regions with reCAPTCHA protection to prevent abuse. Configure phone auth in Firebase Console, then use the SDK to handle sign-in and verification flows for cross-region deployments.

How do I implement role-based access control with Firebase Authentication?

Custom claims in Firebase Authentication enable role-based access control by attaching user roles and permissions to ID tokens. Set custom claims server-side, then enforce them in Security Rules for Firestore, Storage, and Realtime Database to restrict data access by role.

What's the best way to add anonymous guest access with upgrade paths in Firebase?

Anonymous Authentication in Firebase lets users access your app without credentials, then upgrade to permanent accounts by linking social or phone auth. Implement anonymous sign-in, store guest data with anonymous user IDs, then migrate data when upgrading to authenticated accounts.

Does Firebase Auth work with web, iOS, Android, Flutter, and React Native apps?

Firebase Authentication supports web (SDK v9+), iOS, Android, Flutter, and React Native through native SDKs and cross-platform libraries. Each platform uses provider-specific sign-in flows (popup/credential on web, native flows on mobile) integrated with the same Firebase backend.

How do I secure Firestore and Storage with Firebase Authentication and Security Rules?

Security Rules in Firebase integrate with Authentication to control access to Firestore, Storage, and Realtime Database. Write rules that check user authentication status and custom claims to enforce row-level and collection-level permissions based on authenticated identity.