selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Best self-hosted Authentication

Self-hosted authentication software lets you run the login and identity layer on your own servers instead of relying on a hosted sign-in service. More about Authentication

--sort
93 projects· by score

** Today's picks

new every day · not on page 1

Projects

30 of 93

About self-hosted Authentication software

You control where user accounts are stored and how users sign in to your applications. Keycloak describes itself as open source identity and access management for modern applications and services. Dex is an OpenID Connect identity and OAuth 2.0 provider with pluggable connectors. Pocket ID is an OpenID Connect and OAuth 2.0 provider that lets users sign in with passkeys. Ory is a headless, cloud-native authentication and identity service written in Go, with support for passkeys, social sign-in, OIDC and magic links. All of these projects are released under permissive open-source licences.

94 self-hosted Authentication projects are listed here, ranked by popularity, maintenance and documentation.

Highest rated
supabase (114 749 GitHub stars, Apache-2.0 license, written in Typescript), followed by keycloak and Appwrite
Docker
12 of the top 12 ship an official Docker image
Easiest to set up
Pocket ID
Recently updated
Casdoor v4.27.1 on 2026-11-10

Top self-hosted Authentication software compared

ProjectLicenseLanguageStarsDockerSetupLatest releaseScore
supabaseApache-2.0Typescript114 749YesAdvancedv1.26.0890
keycloakApache-2.0Java37 805YesModerate26.8.286
AppwriteBSD-3-ClauseTypescript57 931YesModerate2.7.185
Kong GatewayApache-2.0Lua44 376YesModerate3.9.482
autheliaApache-2.0Go29 615YesModeratev4.39.2881
authentikMITPython26 294YesModerateversion/2026.8.580
Stalwart Mail ServerAGPL-3.0-only AND LicenseRef-SELRust15 839YesModeratev1.1.079
Pocket IDBSD-2-ClauseGo10 246YesEasyv2.19.279
CasdoorApache-2.0Go14 808YesModeratev4.27.178
TeleportAGPL-3.0Go21 088YesAdvancedv18.10.076
zitadelAGPL-3.0Go15 556YesModeratev4.20.276
logtoMPL-2.0Typescript14 898YesModeratev1.46.073