Casdoor vs Firebase Auth

An open-source alternative to Firebase Authentication

Firebase Authentication is Google's sign-in service for Firebase apps; SAML, OIDC, MFA and multi-tenancy come with the paid Identity Platform upgrade. Casdoor is an open-source identity platform with all of those included, self-hosted for free or run for you at a flat price.

Casdoor and Firebase Auth at a glance

CasdoorFirebase Auth
Source codeOpen source (Apache-2.0)Proprietary
Where it runsCasdoor Cloud, or your own servers with Docker or KubernetesGoogle Cloud
PricingFrom $24.17/month billed yearly per dedicated instance, with no per-user fees; self-hosting is freeWith Identity Platform, the first 50,000 MAU and 50 SAML / OIDC MAU are free, then billed at Google Cloud rates; SMS is billed per message
SAML, OIDC, MFA, multi-tenancyIncludedRequire upgrading to Firebase Authentication with Identity Platform

Information about Firebase Auth is from its public website as of October 2026 (Firebase pricing, Firebase Authentication and Identity Platform) and may have changed. Firebase Auth is a trademark of its owner.

Why teams choose Casdoor

One IdP for every app

Casdoor is an identity provider over OIDC, SAML, CAS, LDAP and RADIUS, so the same accounts sign in to your own apps, SaaS tools and devices.

No MAU bill

Cloud plans are a flat monthly price, so more users don't mean a bigger invoice.

Run it anywhere

The same Apache-2.0 code runs in our cloud or on your servers, and you can move between them.

Authorization included

Casbin RBAC, ABAC and ACL are built in, instead of being left to your code.

When Firebase Auth may fit better

  • Your app is built on Firebase and relies on Firestore security rules and Cloud Functions triggers tied to Firebase users.
  • You need a vendor with SOC 2 or ISO 27001 reports for the hosted service today. Casdoor Cloud does not have them yet; teams with that requirement usually self-host Casdoor in their own certified environment.

Moving from Firebase Auth to Casdoor

Export your users with the Firebase CLI (`firebase auth:export`) and import them into Casdoor. Firebase hashes passwords with its own modified scrypt, which Casdoor does not verify today, so plan for a password reset or passwordless sign-in on first login. Apps then switch to Casdoor's OIDC endpoints.

Plan a migration with us

FAQ

Frequently asked questions

Can I use Casdoor with a Firebase app?
Yes. Users sign in through Casdoor and your app keeps Firebase for data; with the Identity Platform upgrade, Firebase Authentication can also accept Casdoor as an OpenID Connect provider.
How does Casdoor's pricing compare with Firebase's?
Firebase Authentication with Identity Platform is free to 50,000 MAU (50 for SAML and OIDC users) and then billed per MAU. Casdoor Cloud is from $24.17/month billed yearly for a dedicated instance with no per-user fees.