Skip to content
hostedsoftware
Submit

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.

21 results
  • Keycloak

    Open-source identity and access management for applications and services.

    ★ 38KJavaApache-2.0Thriving
  • Authelia

    Authentication and authorization server providing two-factor authentication and single sign-on via web portal.

    ★ 29.7KGoApache-2.0Thriving
  • Authentik

    Open-source identity provider with support for various protocols.

    ★ 26.4KPythonProprietaryThriving
  • Aegis

    An open-source Android app for managing two-step authentication codes.

    ★ 13.6KJavaGPL-3.1Thriving
  • Pocket 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-ClauseThriving
  • Hanko

    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.0Thriving
  • Tinyauth

    The tiniest OpenID Certified™ authorization and authentication server you have ever seen.

    ★ 8.5KGoAGPL-3.0Thriving
  • Hexclave

    The user infrastructure platform. You choose the frontend, backend, and database. Hexclave handles everything else.

    ★ 6.9KTypeScriptThriving
  • 2FAuth

    Two-factor authentication account management and security code generator.

    ★ 4.2KPHPAGPL-3.1Thriving
  • Voidauth

    Single Sign-On for Your Self-Hosted Universe.

    ★ 2.9KTypeScriptAGPL-3.0Thriving
  • Authgear 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.0Thriving
  • MaxKey

    Dromara MaxKey 🗝️ SSO ,Leading-Edge IAM-IDaas(Identity and Access Management) Product , Under Apache-2.0 is free ,业界领先的IAM-IDaas身份管理和认证产品,遵循Apache-2.

    ★ 2KJavaApache-2.0Thriving
  • Labca

    A private Certificate Authority for internal (lab) use, based on the open source ACME Automated Certificate Management Environment implementation from

    ★ 801GoActive
  • Lego CertHub

    Centralized certificate management for secure infrastructure.

    ★ 631PythonActive
  • Aifw

    AI Agent Identity and Access Management and Inference Firewall.

    ★ 419PythonActive
  • Habitsync

    Self hosted Habit Tracker featuring goals and challenges with friends.

    ★ 349TypeScriptBSD-3-ClauseActive
  • JellyfinSecurity

    A Jellyfin plugin that adds native two-factor authentication (TOTP, email OTP) with trusted device tokens, TV device pairing, LAN bypass, and API key

    ★ 337
  • Fn Knock Turborepo

    面向 NAS、软路由与家庭服务器的多平台高性能安全网关,采用 Rust + Go 双核心架构,集成反向代理、身份认证、WAF、SSL、DDNS 与内网穿透。.

    ★ 214RustMITThriving
  • Nforwardauth

    Simple and minimalist forward auth service intended for use with reverse proxies (Traefik, Caddy, nginx, etc).

    ★ 161RustMITSlowing
  • WorkOS

    Full-fledged authentication platform, from your first user to enterprise single sign-on.

    ★ 107GoMITProprietaryThriving
  • Smallstep

    Online certificate authority for secure, automated certificate management.

    Proprietary

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.