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.
- Keycloak +137
- Better Auth +79
- Authentik +65
- Licences
- Apache-2.0, MIT
- Languages
- Java, Python, TypeScript
- Replaces
- Auth0
Auth & identity tools
| # | Self-host (editorial: checked against each project’s own docs) | |||||
|---|---|---|---|---|---|---|
| 01 | KeycloakEnterprise-grade identity and access management | 38.2k ★Apache-2.0 | Slowing68 of 100 | +137 | ▲up 0.4% over 7 days | Moderate≈ $14.40/mo server server about $14.40 a month, our estimate |
| 02 | Better AuthFramework-agnostic auth framework for TypeScript | 31k ★MIT | Healthy94 of 100 | +79 | ▲up 0.3% over 7 days | Libraryruns in your app no server of its own: a library runs inside your own application, so there is no separate server to price |
| 03 | AuthentikSelf-hosted identity provider with SSO | 26.6k ★MIT | Healthy94 of 100 | +65 | ▲up 0.2% over 7 days | Moderate≈ $14.40/mo server server about $14.40 a month, our estimate |
- Know another open-source auth or identity tool?submit it · free listing, reviewed against the same bar
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.
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.