Best self-hosted federated identity/authentication services
21 federated identity/authentication services you can run on your own server — 18 open source, 16 updated in the last 90 days. Most popular: Keycloak, Authelia, Authentik. Ranked by GitHub stars and our maintenance health score.
Keycloak
Open-source identity and access management for applications and services.
★ 38KJavaApache-2.0ThrivingAuthelia
Authentication and authorization server providing two-factor authentication and single sign-on via web portal.
★ 29.7KGoApache-2.0ThrivingAuthentik
Open-source identity provider with support for various protocols.
★ 26.4KPythonProprietaryThrivingAegis
An open-source Android app for managing two-step authentication codes.
★ 13.6KJavaGPL-3.1ThrivingPocket ID
The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys.
★ 10.4KGoBSD-2-ClauseThrivingHanko
Open source authentication APIs and UI components for modern apps. Get started in minutes and never worry about auth and weak or stolen passwords anym
★ 9.1KGoAGPL-3.0ThrivingTinyauth
The tiniest OpenID Certified™ authorization and authentication server you have ever seen.
★ 8.5KGoAGPL-3.0ThrivingHexclave
The user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else.
★ 6.9KTypeScriptThriving2FAuth
Two-factor authentication account management and security code generator.
★ 4.2KPHPAGPL-3.1ThrivingAuthgear Server
Open source Auth0/Keycloak alternative. Passkeys, SSO, MFA, passwordless, biometric login. Self-hosted or cloud. Enterprise-ready for SaaS & mobile ap
★ 2.2KGoApache-2.0ThrivingMaxKey
Dromara MaxKey 🗝️ SSO ,Leading-Edge IAM-IDaas(Identity and Access Management) Product , Under Apache-2.0 is free ,业界领先的IAM-IDaas身份管理和认证产品,遵循Apache-2.
★ 2KJavaApache-2.0ThrivingLabca
A private Certificate Authority for internal (lab) use, based on the open source ACME Automated Certificate Management Environment implementation from
★ 801GoActiveHabitsync
Self hosted Habit Tracker featuring goals and challenges with friends.
★ 349TypeScriptBSD-3-ClauseActiveJellyfinSecurity
A Jellyfin plugin that adds native two-factor authentication (TOTP, email OTP) with trusted device tokens, TV device pairing, LAN bypass, and API key
★ 337Fn Knock Turborepo
面向 NAS、软路由与家庭服务器的多平台高性能安全网关,采用 Rust + Go 双核心架构,集成反向代理、身份认证、WAF、SSL、DDNS 与内网穿透。.
★ 214RustMITThrivingNforwardauth
Simple and minimalist forward auth service intended for use with reverse proxies (Traefik, Caddy, nginx, etc).
★ 161RustMITSlowingWorkOS
Full-fledged authentication platform, from your first user to enterprise single sign-on.
★ 107GoMITProprietaryThriving
Related
Frequently asked questions
What is the best self-hosted federated identity/authentication service?
By community adoption, the most popular self-hosted federated identity/authentication services are Keycloak (★ 38K), Authelia (★ 29.7K), Authentik (★ 26.4K). For long-term reliability, Keycloak, Authelia, Authentik have the highest maintenance health scores right now.
Are there free and open-source federated identity/authentication services?
Yes — 18 of the 21 federated identity/authentication services listed here are open source, so you can run them on your own server for free.
Which federated identity/authentication services are actively maintained?
16 projects in this category had a commit in the last 90 days. Use the “Recently updated” sort or the “Active” filter above to see them.
Why self-host federated identity/authentication services?
Self-hosting gives you full control of your data, no per-seat pricing, no vendor lock-in and the ability to customize. The trade-off is that you handle updates, backups and security yourself.