Skip to content
Compare

Keycloak vs Firebase Authentication

Firebase Authentication is Google’s sign-in service for web and mobile apps, with SDKs and ready-made sign-in screens. Keycloak is a full identity server, and RealmDeploy runs it for you. They are built for different stages of a product.

Checked on · Sources

The short answer

Choose Firebase Authentication if you are building a web or mobile app on Firebase, want sign-in working in an afternoon, and have fewer than 50,000 monthly active users. Choose Keycloak on RealmDeploy if you need SAML or OIDC single sign-on for other apps, LDAP federation, realms and roles for many tenants, or an SLA without moving to Identity Platform.

Side by side

Keycloak on RealmDeploy and Firebase Auth

Every fact on the right comes from Firebase Auth’s own public pages; the number after it opens the source.

TopicKeycloak on RealmDeployFirebase Authentication
Hosting modelManaged Keycloak: a dedicated cluster for each customer, set up and run by our team on Azure or AWSA Google service: backend, SDKs and ready-made UI libraries1
Open sourceKeycloak is open source under Apache-2.0. We run the upstream image, unchanged.The FirebaseUI library is open source; the backend is a hosted service1
OIDC, SAML and LDAPOpenID Connect, OAuth 2.0 and SAML 2.0, as identity provider and as a broker to outside providers. LDAP and Active Directory user federation.Built on OAuth 2.0 and OpenID Connect. SAML and OIDC providers need the Identity Platform upgrade, and SAML is service-provider initiated only.12
User federation and migrationKeycloak’s own LDAP and Active Directory federation. We open the outgoing connection from your cluster to your directory.Import users with their password hashes, up to 1,000 per call, in many hash formats3
Custom code and extensionsNot yet: tenant images run stock Keycloak, so custom providers, extensions and themes cannot be installed. Built-in flows, mappers and required actions are set in the admin console.Blocking functions before sign-up, sign-in and messages, after the Identity Platform upgrade4
Pricing model and published pricesA price per plan, not per user, sized for about 5K, 100K or 500K active users. Starter $199/mo, billed monthly only. Premium $999/mo, or $799/mo billed yearly. Enterprise $2,499/mo, or $1,999/mo billed yearly. Custom through the contact form.No cost up to 50K monthly active users, then Identity Platform rates from $0.0055 per MAU. SAML and OIDC sign-ins: 50 MAU free, then $0.015.56
Export and lock-inStandard Keycloak realms. Any Keycloak can import their export, users and password hashes included.auth:export includes password hashes only for scrypt, Firebase’s own algorithm; other accounts export with empty hashes7
Uptime SLAStarter: best effort, no SLA. Premium: 99.9%. Enterprise: 99.95%.99.95% after the Identity Platform upgrade, for email and password sign-in and token refresh81
SupportWritten only. Starter: next business day. Premium: first response within 4 hours on weekdays. Enterprise: 24×7 for urgent issues.Free community channels and support cases; enterprise support after the Identity Platform upgrade91

Their facts as published on 25 November 2026; a row is left out where we could not find a fact on their pages. Ours are on the pricing page.

What differs

The three differences that matter most

Sign-in for an app, or identity for many

Firebase Authentication signs users in to your app with SDKs and prebuilt screens. Keycloak is an identity server: realms for separate tenants, clients for each app, roles and groups, and single sign-on across all of them.

Enterprise protocols

SAML and OpenID Connect providers, blocking functions and the SLA all need the Identity Platform upgrade, and SAML works only as a service provider. Keycloak includes SAML and OIDC as both identity provider and broker, plus LDAP and Active Directory federation, on every plan.

Price shape

Firebase is free up to 50,000 monthly active users, then charges per user at Identity Platform rates, and SAML or OIDC users cost $0.015 each after the first 50. Our price is set by plan.

Which fits

Where each one fits better

If the second list describes you better, Firebase Auth is the better choice.

Choose Keycloak on RealmDeploy if
  • You need single sign-on across several apps, over OpenID Connect or SAML.
  • You need LDAP or Active Directory federation, or Keycloak as a SAML identity provider.
  • You serve several customers and want a realm, roles and groups for each.
  • You want an uptime SLA as part of the plan: 99.9% on Premium, 99.95% on Enterprise.
  • You want written support from the team that runs your identity server.
Choose Firebase Auth if
  • You are building a web or mobile app on Firebase and want sign-in working today.
  • You have fewer than 50,000 monthly active users and want to pay nothing for sign-in.
  • You want ready-made sign-in screens in your app’s SDK.
  • You do not need SAML, LDAP or single sign-on across several apps.
Migration

Moving from Firebase Auth

We migrate from Firebase Authentication. Premium and Enterprise include 10 service hours a month, which we spend on the move with you. On Starter you run it yourself with our free migration tools. Firebase’s auth:export includes hashes only for accounts on its own scrypt algorithm. Passwords come across only when the source exports hashes Keycloak can verify. Otherwise users set a new password by email link the first time they sign in.

Moving from Firebase
Questions

About Keycloak and Firebase Auth

When should I move from Firebase Authentication to Keycloak?

Usually when a customer asks for SAML or single sign-on with their own identity provider, when you need roles and tenants beyond one app, or when you want an identity server that is not tied to one cloud.

Is Firebase Authentication free?

Up to 50,000 monthly active users, yes, on both Spark and Blaze. SAML and OpenID Connect sign-ins are free for 50 users and $0.015 each after. Beyond 50,000 users, Identity Platform rates apply, starting at $0.0055 per user.

Can I export Firebase users with their passwords?

Partly. Firebase’s documentation says auth:export includes hashes only for accounts hashed with its scrypt algorithm; other accounts export with empty hashes. Passwords move to Keycloak only when it can verify the hashes; otherwise users set a new one by email link.

Does Firebase Authentication have an SLA?

After the upgrade to Identity Platform, Google commits to 99.95% for email and password sign-in and token refresh. RealmDeploy commits to 99.9% on Premium and 99.95% on Enterprise, for your whole Keycloak.

Do I lose the Firebase sign-in screens?

Yes. With Keycloak, users sign in on Keycloak’s own login pages through standard OpenID Connect, and your app uses any OIDC library. Custom themes are not supported in our tenant images yet.

Can I try Keycloak on RealmDeploy first?

Yes. Starter and Premium start with a 7-day trial, card required, with a trial realm ready at once.

Want a cluster of your own?

Order a realm in the dashboard, or write to us first about what you run today.