{"repo":"yultyyev/better-auth-firebase-auth","free":true,"listed":false,"github":"https://github.com/yultyyev/better-auth-firebase-auth","clone":"git clone https://github.com/yultyyev/better-auth-firebase-auth.git","description":"Use Firebase Authentication (Phone SMS OTP, Google, Email) with Better Auth sessions, organizations, and plugins. No Twilio needed for phone auth.","language":"TypeScript","stars":18,"topics":["authentication","better-auth","firebase","firebase-auth","typescript","auth","plugin","nextjs","phone-auth","sms-auth"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"better-auth-firebase-auth better-auth-firebase-auth is a Better Auth plugin that lets you use Firebase Authentication — Phone SMS OTP, Google Sign-In, and Email/Password — while Better Auth manages sessions, users, organizations, and plugins. Firebase verifies identity. Better Auth owns the session. No Twilio required for phone auth. No email provider required for password reset. - Install: pnpm add better-auth-firebase-auth firebase-admin firebase better-auth --- How it works 1. The user authenticates with Firebase (phone OTP, Google popup, or email/password) 2. Firebase issues a signed ID token on the client 3. The client sends that token to this plugin's endpoint 4. The plugin verifies the token with Firebase Admin SDK 5. The plugin creates or links a Better Auth user and session Better Auth owns the app session from step 5 onward. Firebase is used only as an identity verifier. --- Supported Authentication Methods Currently Supported - Firebase Phone Authentication — Firebase sends and verifies SMS OTP, plugin creates the Better Auth session ( signInWithPhone ). No Twilio, no AWS SNS, no external SMS provider needed. - Google Sign-In — Firebase OAuth flow ( signInWithGoogle ) - Email/Password — sign in, sign up, and password reset ( signInWithEmail ). Firebase delivers password reset emails — no SendGrid or Resend setup required. Not Yet Supported Social providers (Facebook, GitHub, Twitter/X, Microsoft, Apple, LinkedIn), anonymous auth, SAML/OIDC, MFA, and custom tokens. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/yultyyev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yultyyev/better-auth-firebase-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}