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
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.
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.
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.
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.
Where each one fits better
If the second list describes you better, Firebase Auth is the better choice.
- 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.
- 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.
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 FirebaseAbout 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.
Where the Firebase Auth facts come from
Checked on 25 November 2026. Prices and plans change: if one of these has, tell us through the contact form and we will correct this page.
- firebase.google.com/docs/auth
- firebase.google.com/docs/auth/web/saml
- firebase.google.com/docs/auth/admin/import-users
- firebase.google.com/docs/auth/extend-with-blocking-functions
- firebase.google.com/pricing
- cloud.google.com/identity-platform/pricing
- firebase.google.com/docs/cli/auth
- cloud.google.com/identity-platform/sla
- firebase.google.com/support
Other identity platforms
Keycloak vs Auth0
Okta’s hosted identity service, priced by monthly active users, with Node.js Actions and a free tier.
Compare Hosted identity serviceKeycloak vs Okta
Workforce Identity per user per month, and Okta Customer Identity from $3,000 a month, both run by Okta.
Compare Hosted identity serviceKeycloak vs Amazon Cognito
AWS’s user pools, free to 10,000 monthly active users, with Lambda triggers and an SLA up to 99.99%.
Compare Hosted identity serviceKeycloak vs Microsoft Entra External ID and Azure AD B2C
Microsoft’s customer identity: Azure AD B2C is closed to new customers, and External ID is where new features go.
Compare Hosted identity serviceKeycloak vs Clerk
Sign-in components for web apps, free to 50,000 monthly retained users per app, hosted in the US only.
Compare Hosted identity serviceKeycloak vs WorkOS
Enterprise SSO and directory sync priced per connection, with AuthKit free up to 1 million users.
CompareWant a cluster of your own?
Order a realm in the dashboard, or write to us first about what you run today.