category leaderboard · from the GitHub APIas of · synced 6× a day

Top open-source auth & identity tools in 2026

Ranked by GitHub stars, with 7-day growth and maintainer health beside each, so you can see which big projects are still moving and which have stalled.

The 3 auth & identity tools we track gained +281 stars in the last 7 days. Keycloak leads with 38.2k.

where the +281 stars went · 7d
  • Keycloak +137
  • Better Auth +79
  • Authentik +65
Licences
Apache-2.0, MIT
Languages
Java, Python, TypeScript
Replaces
Auth0
See the ranking

Auth & identity tools

ranked by stars · select a column to re-sort · as of 2026-12-05 00:37 UTC

Top open-source auth & identity tools, ranked by GitHub stars, with maintainer health and stars gained in the last 7 days
#Self-host (editorial: checked against each project’s own docs)
01KeycloakEnterprise-grade identity and access management38.2k ★Apache-2.0Slowing68 of 100+137up 0.4% over 7 daysModerate server about $14.40 a month, our estimate
02Better AuthFramework-agnostic auth framework for TypeScript31k ★MITHealthy94 of 100+79up 0.3% over 7 daysLibrary no server of its own: a library runs inside your own application, so there is no separate server to price
03AuthentikSelf-hosted identity provider with SSO26.6k ★MITHealthy94 of 100+65up 0.2% over 7 daysModerate server about $14.40 a month, our estimate

Why 3 tools. A project is listed only when it clears the bar: a public repository, an open-source, fair-code or source-available licence, and active maintenance. We would rather show three real rows than pad the board.

measuredGitHub API · as of 2026-12-05 00:37 UTCeditorialself-host, from project docs · ≈ server is our estimateBar = stars gained against the category leader. Dashed health = archived. Download every tool’s figures

What’s in the Auth category?

We track 3 auth & identity tools that clear the bar: a public repository, an open-source, fair-code or source-available licence, and active maintenance. Keycloak leads on adoption with 38.2k stars. Median growth across the category is +0.3% a week, 10th of 25 categories we track.

These are the projects people reach for when replacing Auth0.

None of the 3 we have profiled is rated easy to self-host. Better Auth is a library, with no server of its own. Licences in the category: Apache-2.0, MIT. Written in Java, Python, TypeScript.

How this ranking works

rank
GitHub stars; re-sort by 7-day growth or health
health
Commit recency, release cadence, contributor breadth, issue response
self-host
Checked against each project’s own docs
listing
Public repo, open-source, fair-code or source-available licence
as of
2026-12-05 00:37 UTC

Rankings are never paid for. A project appears here only if its repository is public and actively licensed. Report a data error · Methodology 

Frequently asked about open-source auth & identity tools

What is the best open-source auth or identity tool?

By adoption, Keycloak: 38.2k GitHub stars, Apache-2.0-licensed, written in Java, with a maintainer-health score of 68/100 (as of 2026-12-05). "Best" depends on what you are replacing; the table above ranks all 3 by stars and re-sorts by growth or health.

How many open-source auth & identity tools are there?

We track 3 that meet the bar: a public repository, an open-source, fair-code or source-available licence, and active maintenance. That is a curated index rather than every project in existence. Missing one? Submitting it takes a minute.

Are open-source auth & identity tools hard to self-host?

None of the 3 we have profiled is rated easy (a single container or a managed script). Two need more assembly. Better Auth is a library, with no server of its own. Difficulty is checked against each project’s own deployment docs, not inferred from its language or its star count.

How is this ranking decided?

By GitHub stars, read from the GitHub API and rebuilt twice a day. Stars gained in the last 7 days, star velocity and maintainer health sit beside each project, and the table re-sorts by any of them. No vendor can pay to appear or to move up.

Where to go next