firebase-auth-better-auth

Integrate Firebase Authentication providers into Better Auth session management workflows.

18|4|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/yultyyev/better-auth-firebase-auth --skill firebase-auth-better-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase-auth-better-auth
Source: https://github.com/yultyyev/better-auth-firebase-auth/tree/main
Command: npx skills add https://github.com/yultyyev/better-auth-firebase-auth --skill firebase-auth-better-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires better-auth, firebase, firebase-admin, and includes scripts (resource) components.

What problem does it solve?

This Skill bridges Firebase Authentication identity providers into Better Auth sessions, allowing developers to use Firebase's robust identity infrastructure (Phone OTP, Google, Email/Password) while maintaining Better Auth's session and user management.

Core Features & Use Cases

  • Firebase Phone Auth: Enables SMS OTP authentication without requiring external SMS providers like Twilio.
  • Unified Identity: Links Firebase-verified identities to Better Auth users, sessions, and organizations.
  • Use Case: A developer building a Next.js application wants to use Firebase for phone number verification but needs Better Auth to manage user roles, organizations, and API keys.

Quick Start

Use the firebase-auth-better-auth skill to configure the server-side plugin with your Firebase Admin Auth instance and enable phone authentication.

Frequently Asked Questions about firebase-auth-better-auth

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

FAQPage Schema
How do I integrate Firebase phone authentication with Better Auth sessions?

You can integrate Firebase phone authentication with Better Auth by configuring a server-side plugin using the Firebase Admin SDK to verify phone OTP ID tokens and synchronize user records into Better Auth session management workflows.

Can I use Firebase Auth providers like Google Sign-In without external SMS providers in Better Auth?

Yes, you can use Firebase Auth providers like Google Sign-In and Phone SMS OTP directly within Better Auth workflows, enabling phone number verification without requiring external SMS providers like Twilio.

What is the best way to manage user roles and organizations using Firebase verified identities?

Managing user roles and organizations with Firebase verified identities involves linking Firebase ID tokens to Better Auth users and sessions, allowing Better Auth to handle unified identity, roles, and API keys while Firebase manages authentication.

Do I need Firebase Admin SDK to configure Better Auth session management?

Yes, configuring Better Auth session management with Firebase Authentication requires the Firebase Admin SDK and Better Auth plugin configuration to successfully verify ID tokens and synchronize user records across both systems.

Does Firebase Authentication work with Better Auth for Next.js applications?

Firebase Authentication works with Better Auth for Next.js applications by bridging Firebase's identity infrastructure for Phone OTP, Google, and Email/Password patterns into Better Auth's user and session management workflows.