FusionAuth is a good identity server with excellent documentation, and its Community edition really is free for unlimited users. It is also not open source: the core is closed source, its own licence FAQ answers "Not currently" to whether you may modify it, and the product ships an API that enumerates the 30 features held behind a licence key. Keycloak is Apache 2.0 with no tiers, no licence key and no feature flag that costs money. Everything on this page was checked on Keycloak 26.8.2 and FusionAuth 1.71.1 Community, both running locally on 23 November 2026.
| FusionAuth | You Keycloak | |
|---|---|---|
| Open-source licence | ||
| You may modify the server | ||
| Client credentials grant, unlicensed | ||
| SCIM 2.0 provisioning, unlicensed | ||
| LDAP / AD federation, unlicensed | ||
| Features behind a licence key | 30 | 0 |
| Dimension | FusionAuth | Keycloak (with Phase Two) |
|---|---|---|
| Licence | Proprietary. FusionAuth's licence FAQ says it has "chosen a closed source model for the core product" and that the fusionauth-app bundle "cannot be decompiled or reverse engineered". Client libraries, example apps and docs are Apache 2.0 | ✓Apache 2.0 throughout, server included |
| Can you modify it? | The licence FAQ answers "Not currently" | ✓Fork it, patch it, run the patch in production |
| Project governance | Single vendor, FusionAuth Inc. | ✓CNCF Incubating project, accepted 10 April 2023; multiple independent vendors |
| Free tier | Community: free, self-hosted, unlimited users — with 30 features reported as licensed-only by the server's own /api/reactor/status | ✓The whole server. No editions, no licence key, no phone home |
| Machine-to-machine | Client credentials grant requires Entity Management, "at least a Starter plan" | ✓Service account on any confidential client, out of the box |
| SCIM 2.0 provisioning | scimServer is a licensed feature; listed under the Enterprise plan | ✓SCIM 2.0 API in the 26.8.2 core, enabled per realm with one flag |
| Existing LDAP or Active Directory | LDAP Connector, licensed. Authenticates at login and optionally migrates the user; no scheduled sync, and "FusionAuth does not support pushing user profile data into LDAP" | ✓User storage provider with READ_ONLY / WRITABLE / UNSYNCED edit modes, periodic sync, group and role mappers, Kerberos bridge |
| Custom logic in a login flow | Lambdas in JavaScript on GraalJS, plus webhooks. Advanced lambdas are licensed | Authenticator SPI; your Java runs in-process. The running server reports 139 provider interfaces |
| Multi-tenancy | Tenants and applications, free in Community | Realms, plus Organizations in the 26.8.2 core and our open-source extension on top |
| Datastores to operate | PostgreSQL 14+ (MySQL 8 works but "FusionAuth only tests with PostgreSQL"), plus optional Elasticsearch 7.6.1–7.17.x or OpenSearch 2.x for user search | ✓One database. Postgres, MySQL, MariaDB, Oracle, MS SQL or TiDB |
| Managed option | FusionAuth Cloud, priced by monthly active users; hosting is bundled into each paid tier | ✓Any cloud or region you like, or a dedicated cluster at a fixed monthly price |
FusionAuth is a real identity server and deserves to be treated as one. It is a single Java process against a database, it installs from a ZIP, DEB, RPM, Docker image or Helm chart, and it comes up fast. Its documentation is among the best in the category, its client libraries are Apache 2.0, and Kickstart — a JSON file the server reads on first boot to create tenants, applications, API keys and users — is a genuinely good idea that Keycloak's realm import only half matches.
Verified on the versions above, both servers:
Two things genuinely favour FusionAuth, and we will not bury them. Its multi-tenancy is in the free tier — we created a second tenant on an unlicensed 1.71.1 and it returned HTTP 200 — and its extension model does not require Java: lambdas are JavaScript evaluated on GraalJS, and a basic one installs through the API with no build step. If nobody on your team writes Java and you need custom logic in the login, that is a real advantage. Both points come back in the last section.
What follows is the set of differences that change an architecture or a budget, and the first one is the word "open source".
These get conflated constantly, including in comparison articles that put both products in an "open-source IAM" list. Free and open source are different claims, and FusionAuth itself is clear about which one it makes. Its licence FAQ says the company "has chosen a closed source model for the core product but open source many components as well", and that the source for the fusionauth-app bundle "cannot be decompiled or reverse engineered".
| What | Licence |
|---|---|
| FusionAuth server (fusionauth-app) | Proprietary, closed source |
| Client libraries, example apps, documentation | Apache 2.0 |
| Modifying the server | FAQ answers "Not currently" |
| Redistributing or hosting it for customers | Paid; reselling needs a reseller licence |
| All of Keycloak, server included | Apache 2.0 |
For a lot of teams this changes nothing. If you are logging users into your own product and you were never going to patch your IdP, a closed-source core is an abstraction you will never poke at. The question is whether you are one of the teams who will, and the honest answer is that most people cannot tell in advance. The cases we see are a security review that wants to read the authentication path, an auditor who asks for the code behind a control, a bug you need fixed this week rather than next release, and a regulator who requires a change to session handling nobody else wants. Each of those is an email to a vendor on one product and an afternoon on the other.
There is a second-order effect worth naming. A closed core means the vendor is the only party who can support it. Keycloak's Apache 2.0 licence and CNCF Incubating status are why several independent companies — us included — can offer support, extensions and hosting for the same server. That is a different kind of bet about the next ten years than a single-vendor product, and it is also why it is easier to hire people who have already run it.
This is the part most comparisons guess at, and you do not have to. FusionAuth's licensed functionality is gated by a component called the Reactor, and the server exposes its state at /api/reactor/status. On a stock, unlicensed Community install the answer is a complete inventory of what you are not getting.
# FusionAuth 1.71.1 Community, kickstarted, no licence key
curl -s -H "Authorization: $API_KEY" http://localhost:9011/api/reactor/status
{"status":{
"advancedIdentityProviders":"UNKNOWN",
"advancedLambdas":"UNKNOWN",
"advancedMultiFactorAuthentication":"UNKNOWN",
"advancedOAuthScopes":"UNKNOWN",
"advancedRegistration":"UNKNOWN",
"applicationMultiFactorAuthentication":"UNKNOWN",
"applicationThemes":"UNKNOWN",
"breachedPasswordDetection":"UNKNOWN",
"connectors":"UNKNOWN",
"dPoP":"UNKNOWN",
"entityManagement":"UNKNOWN",
"intelligentMFA":"UNKNOWN",
"scimServer":"UNKNOWN",
"threatDetection":"UNKNOWN",
"tokenExchange":"UNKNOWN",
"webAuthn":"UNKNOWN",
... 14 more ...
"licensed":false
}}Thirty entries, all UNKNOWN, licensed: false. Read the list rather than the count, because the interesting thing is which capabilities are on it. dPoP and tokenExchange are OAuth standards. webAuthn is passkeys. connectors is how you reach an existing directory. scimServer is how an enterprise customer provisions users into you. entityManagement is, as the next section shows, the client credentials grant.
Two fairness notes. webAuthn is covered by the free Licensed Community plan, so passkeys cost nothing — but they do require registering for a key, pasting it into the admin UI, and an instance that can reach FusionAuth's servers, because "after you activate the license, FusionAuth connects to FusionAuth's servers to confirm the license." An air-gapped licence exists for installs that cannot. And several entries are things Keycloak genuinely does not have either, like IP reputation and user-agent reputation; FusionAuth's threat detection is a real product and we are not pretending otherwise.
The equivalent list on Keycloak 26.8.2 is empty, because there is no such mechanism. Its feature flags exist to separate supported from preview, not paid from free. PAR, DPoP, CIBA, token exchange, passkeys, Kerberos, Organizations and the SCIM API are all DEFAULT — on, supported, free — in the server's own serverinfo output.
What you actually get for what you actually pay.
| FusionAuth | You Keycloak + Phase Two | |
|---|---|---|
| Open-source licence (OSI) | ||
| You may modify the server | ||
| Vendor-neutral foundation governance | ||
| Self-hostable at no cost | ||
| OIDC, OAuth 2.0 and SAML 2.0 | ||
| Client credentials grant, unlicensed | ||
| SCIM 2.0 server, unlicensed | ||
| OAuth token exchange, unlicensed | ||
| DPoP sender-constrained tokens, unlicensed | ||
| Passkeys without a licence key | ||
| LDAP / AD federation with sync and write-back | ||
| Extend without writing Java | ||
| Multi-tenancy in the free tier | ||
| Threat / reputation detection as a product feature | ||
| Managed, in any cloud or region you choose |
Of everything on the Reactor list, this is the one that surprises people, so it is worth showing rather than describing. The OAuth 2.0 client credentials grant — a service getting a token for itself, the most ordinary request in a backend — is implemented in FusionAuth through Entities, and Entity Management "requires at least a Starter plan". Here is what that looks like from the token endpoint of an unlicensed server:
# FusionAuth 1.71.1 Community
curl -X POST http://localhost:9011/oauth2/token \
-d 'grant_type=client_credentials&client_id=...&client_secret=...'
HTTP 400
{"error":"not_licensed",
"error_description":"The Entity Management feature of FusionAuth, which include
the Client Credentials Grant, is only supported with a valid license",
"error_reason":"not_licensed"}The same thing on a stock Keycloak container, start to finish:
# Keycloak 26.8.2, stock container
kcadm.sh create clients -r master -s clientId=m2m \
-s serviceAccountsEnabled=true -s publicClient=false -s secret=s3cr3t
curl -X POST http://localhost:8080/realms/master/protocol/openid-connect/token \
-d 'grant_type=client_credentials&client_id=m2m&client_secret=s3cr3t'
HTTP 200
{"access_token":"eyJ...", "expires_in":60, "token_type":"Bearer"}
# decoded
{"typ":"Bearer","azp":"m2m","preferred_username":"service-account-m2m",
"scope":"email profile","aud":"account"}Two commands, no licence, no tier. The same pattern repeats across the Reactor list, and two more are worth pricing out because they are the ones enterprise customers ask for by name.
SCIM. FusionAuth's SCIM server is a licensed feature and sits on the Enterprise plan. Keycloak 26.8.2 ships a SCIM 2.0 API in core — SCIM_API is a DEFAULT feature — and turning it on is one realm flag. We ran it:
kcadm.sh update realms/master -s scimApiEnabled=true
curl -X POST -H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/scim+json" \
-d '{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],
"userName":"ada","emails":[{"value":"ada@example.com","primary":true}]}' \
http://localhost:8080/realms/master/scim/v2/Users
{"schemas":["urn:ietf:params:scim:schemas:core:2.0:User"],
"id":"0fc1acda-ae4e-437a-a6e7-af4f0ec4026d",
"meta":{"resourceType":"User",
"location":".../scim/v2/Users/0fc1acda-ae4e-437a-a6e7-af4f0ec4026d"},
"userName":"ada","active":true}One wrinkle the documentation does not lead with, and which cost us ten minutes: the bearer token must carry the SCIM base URL as an audience, so the calling client needs an audience mapper for {base}/realms/{realm}/scim/v2 or every request answers 401 Invalid token audience. Our SCIM explainer covers the protocol and the SCIM tutorial covers the setup; our Keycloak organizations extension adds per-organization SCIM on top for B2B tenancy.
Token exchange. tokenExchange is on FusionAuth's licensed list. Keycloak 26.8.2 advertises urn:ietf:params:oauth:grant-type:token-exchange in grant_types_supported at its default configuration, which you can confirm against any server with our OIDC discovery tool.
This is the difference most likely to turn into project weeks, and it is two differences stacked: whether you can use the feature at all, and what the feature does.
Availability. Connectors are licensed. The shape of the gate is specific, and we tripped over it in a way that is worth repeating: on an unlicensed 1.71.1 you can create an LDAP connector object — it returns HTTP 200 — and you cannot attach it to a tenant.
PATCH /api/tenant/{tenantId}
{"tenant":{"connectorPolicies":[{"connectorId":"...","domains":["*"]}]}}
HTTP 400
{"fieldErrors":{"tenant.connectorPolicies[1].connectorId":[{
"code":"[notLicensed]tenant.connectorPolicies.connectorId",
"message":"You must activate the Reactor using a valid license
before using this connector."}]}}So a proof of concept that stops at "the connector saved" has not proved anything. Wire it to a tenant before you believe it.
Behaviour. Even licensed, an LDAP connector and a user storage provider are different designs for different problems:
| Question | FusionAuth LDAP Connector | Keycloak user federation |
|---|---|---|
| When does it talk to the directory? | At login | At login, and on a schedule |
| Scheduled full / changed-user sync | No | Yes, both, with configurable periods |
| Write changes back to the directory | No — "FusionAuth does not support pushing user profile data into LDAP" | Yes, in WRITABLE edit mode |
| Groups and roles | Reconcile lambda, re-applied at every login in authenticate-only mode | Group and role mappers, persisted |
| Users who have never logged in | Invisible until first login | Visible after sync; searchable in the admin console |
Neither is wrong. The connector is a clean just-in-time migration tool, and if your goal is to leave LDAP it may be exactly the right shape. But "the directory stays the system of record and the IdP keeps a synchronized, writable view of it" is a requirement a lot of enterprises have, and it is a Keycloak answer, not a FusionAuth one. Our LDAP federation tutorial walks the edit modes, and the Keycloak identity provider docs cover brokering to one instead.
FusionAuth's pricing page, read on 23 November 2026 with its own slider at 1,000 monthly active users, lists Community free and self-hosted, Starter from $162/month billed annually, and Essentials and Enterprise both from $2,970/month billed annually. The paid tiers bundle hosting — basic, business and high-availability respectively — and the price moves with monthly active users.
The number to plan against is not the entry price. It is the jump, and where your requirements land relative to it:
| If you need… | Cheapest FusionAuth tier | Keycloak |
|---|---|---|
| Passkeys / WebAuthn | Licensed Community (free, key required) | Core |
| Client credentials grant | Starter | Core |
| LDAP or AD | Starter | Core |
| Breached password detection | Starter | Not equivalent — a blacklist file you supply, not a hosted breach lookup |
| Per-application themes | Starter | Core |
| SCIM 2.0 server | Enterprise | Core on 26.8.2 |
| OAuth token exchange | Enterprise | Core |
| DPoP sender-constrained tokens | Licensed | Core |
Read the right-hand column honestly too: "core" means the software costs nothing, not that the system costs nothing. Keycloak is a JVM application with a database, a cache, a release every few weeks and an upgrade path you have to walk. Running it well is a job, and the cost of that job is the real comparison against a bundled-hosting tier. Our view of where the line sits is in self-hosting versus managed.
What a fixed price buys that a per-MAU one does not is a forecast. A managed Keycloak cluster from $149/month does not re-price when a marketing campaign triples your signups, and adding SCIM for one enterprise customer does not move you onto a different plan. If residency is part of the decision, our EU data residency page states where identity data sits and where it does not, including the parts that are not flattering.
Pick FusionAuth when:
Keycloak earns it when:
And the closing note that applies either way: the operations bill is real, and it is the one line item neither pricing page shows you. That is the argument for managed Keycloak at a fixed monthly price rather than a per-user meter — or, if you would rather run it yourself, for support for teams who do. If you are still deciding, the rest of the Keycloak alternatives comparisons are written the same way, and the Keycloak tutorials will tell you in an afternoon whether the server fits.
Moving between two standards-based identity servers is mostly client configuration and a user import. The expensive parts are the custom logic, whatever your directory is doing, and the password hashes. We will tell you plainly which of the two fits, including when the answer is not us.
See how we migrate teams to KeycloakMulti-region, high-availability Keycloak with 100+ extensions. Simple, cost-conscious, and customizable.
Run your own Keycloak? Get expert escalation, security patches, and architecture guidance — at any level of complexity.
No. FusionAuth's own licence FAQ says the company "has chosen a closed source model for the core product but open source many components as well". The fusionauth-app bundle is closed source and, per the same FAQ, "cannot be decompiled or reverse engineered"; the FAQ also answers "Not currently" to whether you may modify the software. The client libraries, example applications and documentation are Apache 2.0. The Community edition is free and self-hostable for unlimited users, which is a different claim from being open source. Keycloak is Apache 2.0 throughout, server included.
The server will tell you. GET /api/reactor/status on an unlicensed FusionAuth 1.71.1 returns 30 licensed capabilities, all UNKNOWN, with licensed: false. The list includes the client credentials grant (via Entity Management), the SCIM server, OAuth token exchange, DPoP, WebAuthn, connectors for LDAP, breached password detection, advanced MFA, per-application themes, advanced registration forms and threat detection. WebAuthn is covered by the free Licensed Community plan, so passkeys cost nothing but still require a licence key. Keycloak has no equivalent mechanism — its feature flags separate supported from preview, not paid from free.
No. FusionAuth implements machine-to-machine access through Entities, and its documentation says Entity Management "requires at least a Starter plan". On an unlicensed 1.71.1 the token endpoint answers HTTP 400 with error: not_licensed and the message that the client credentials grant "is only supported with a valid license". In Keycloak you enable service accounts on a confidential client and request a token; it works on a stock container with no licence and no tier.
Keycloak 26.8.2 ships a SCIM 2.0 API in the core. SCIM_API is a DEFAULT feature, you enable it per realm with scimApiEnabled=true, and the endpoints live at /realms/<realm>/scim/v2/. One detail that is easy to miss: the bearer token must carry the SCIM base URL as an audience, or requests answer 401 Invalid token audience. On top of that, our open-source organizations extension adds per-organization SCIM provisioning for B2B tenancy. FusionAuth's SCIM server is a licensed feature on its Enterprise plan.
Not in the same way, and not on the free tier. FusionAuth's LDAP Connector is licensed — on an unlicensed instance you can create the connector but attaching it to a tenant fails with "You must activate the Reactor using a valid license before using this connector." Once licensed it authenticates at login and can migrate the user into FusionAuth, with a reconcile lambda mapping attributes; there is no scheduled synchronization, and FusionAuth's documentation states it "does not support pushing user profile data into LDAP". Keycloak federates the directory as user storage with READ_ONLY, WRITABLE and UNSYNCED edit modes, group and role mappers, periodic full and changed-user sync, and a Kerberos bridge.
Read on 23 November 2026 with FusionAuth's own pricing slider at 1,000 monthly active users, Community is free and self-hosted, Starter starts at $162/month billed annually, and Essentials and Enterprise both start at $2,970/month billed annually; paid tiers bundle hosting and the price moves with monthly active users. Phase Two's dedicated Keycloak clusters start at $149/month with unlimited users and no per-feature tiers, so the variable that moves your bill is cluster size rather than signups or which standards you turned on. Check both current pages before budgeting — these numbers change.
For some teams, yes. FusionAuth has excellent documentation, free multi-tenancy, a JavaScript extension model that does not require Java, and Kickstart for reproducible configuration. It is the better choice when nobody writes Java, when tenancy is the product, or when your requirements fit inside Community. It is the worse choice when open source is a requirement rather than a preference, when there is an existing LDAP or Active Directory, or when your roadmap has enterprise customers who will ask for SCIM — each of those is either a licence conversation or a tier change on FusionAuth and configuration on Keycloak.