> /v1/alternatives/stytch
Open source alternatives to Stytch[008]
Stytch provides authentication APIs for passwordless login, passkeys, OAuth, MFA and fraud prevention. Below are 8 self-hostable open source alternatives, ranked by GitHub popularity.
Keycloak
Open Source Identity and Access Management For Modern Applications and Services
★ STARS
34.3k
⑂ FORKS
8.3k
Better Auth
The authentication framework for TypeScript
★ STARS
28.2k
⑂ FORKS
2.5k
Authentik
The authentication glue you need
★ STARS
21.4k
⑂ FORKS
1.6k
Ory Hydra
OpenID Certified™ OpenID Connect and OAuth Provider written in Go
★ STARS
17.1k
⑂ FORKS
1.5k
SuperTokens
Open source alternative to Auth0 / AWS Cognito / Firebase Auth
★ STARS
15.0k
⑂ FORKS
662
Logto
Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.
★ STARS
12.0k
⑂ FORKS
793
Hanko
Authentication and user management for the passkey era
★ STARS
8.9k
⑂ FORKS
1.0k
Authgear
Open source Auth0/Clerk/Firebase alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile apps
★ STARS
1.7k
⑂ FORKS
112
// EDITOR'S TAKE
Better Auth is the closest fit for developers who want Stytch's API-first feel inside a TypeScript codebase, with passkeys and MFA available as plugins. Hanko is the sharpest passwordless option on its own, while Keycloak, Authentik and Logto are full identity servers that hand you far more than Stytch does but expect you to run and tune them.
// FREQUENTLY ASKED
What is the best open source Stytch alternative?
Keycloak is the most popular open source Stytch alternative by GitHub stars (34,264 stars). The other 7 options are ranked above.
Are these Stytch alternatives self-hostable?
Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.
Are they free?
All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.
// PART OF THESE COLLECTIONS