moai-platform-firebase-auth

Implement Firebase Authentication with multi-provider sign-in, RBAC, and Security Rules.

1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/GoosLab/moai-rank --skill moai-platform-firebase-auth-gooslab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: moai-platform-firebase-auth
Source: https://github.com/GoosLab/moai-rank/tree/main/.claude/skills/moai-platform-firebase-auth
Command: npx skills add https://github.com/GoosLab/moai-rank --skill moai-platform-firebase-auth-gooslab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a comprehensive blueprint for implementing and securing Firebase Authentication across Web, iOS, Android, and Flutter, covering providers, MFA, custom claims, Security Rules, and admin workflows.

Core Features & Use Cases

  • Social authentication across major providers (Google, Facebook, Apple, Twitter/X, GitHub, Microsoft) for Web, iOS, Android, and Flutter
  • Phone authentication with SMS verification, reCAPTCHA, and cross-platform support
  • Custom claims and RBAC enabling role-based access control and admin privileges
  • Admin APIs and Cloud Functions for user provisioning, role management, and auditing
  • Client-side utilities and patterns: Protected routes, auth state management, and token refresh
  • Server-side token verification and session management patterns
  • MFA workflows and anonymous-to-permanent account upgrades
  • Emulator guidance and cross-platform SDK coverage (Web, iOS, Android, Flutter)

Quick Start

Follow the module setup to initialize Firebase Auth across platforms, then implement sign-in flows using the provided providers and patterns.

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 implement multi-provider Firebase Authentication for web and mobile apps?▼

Multi-provider Firebase Authentication is implemented using modular patterns for social sign-in across Web, iOS, Android, and Flutter. It provides ready-to-use SDK integration for Google, Apple, and GitHub, alongside client-side utilities for auth state management.

What is the best way to set up RBAC with custom claims in Firebase?▼

RBAC with custom claims in Firebase is configured using Admin APIs and Cloud Functions. This approach enables role-based access control and admin privileges, allowing server-side enforcement and user provisioning for scalable authentication workflows.

Can I use Firebase Security Rules with custom claims for server-side access control?▼

Yes, Firebase Security Rules integrate directly with custom claims for server-side access control. The architecture specifies Security Rules integration, ensuring server-side token verification and session management enforce role-based permissions across platforms.

Does Firebase Auth support MFA workflows and anonymous account upgrades?▼

Firebase Auth supports MFA workflows and anonymous-to-permanent account upgrades. The blueprint covers multi-factor authentication setup alongside phone authentication with SMS verification and reCAPTCHA for cross-platform mobile and web applications.

How do I verify Firebase auth tokens server-side and manage session refresh?▼

Server-side token verification and session management patterns handle Firebase auth tokens directly. The architecture specifies server-side enforcement using Admin APIs, ensuring valid token refresh cycles and secure session persistence across client platforms.

Can I test Firebase Authentication locally using the Firebase Emulator?▼

Firebase Emulator guidance is included for testing Authentication locally. The blueprint provides emulator setup instructions alongside cross-platform SDK coverage for Web, iOS, Android, and Flutter, allowing safe local development of auth flows before deployment.