Keycloak logo

Alternatives to Keycloak

Keycloak is an open source identity and access management solution providing features like single sign-on, identity brokering and social login, user federation, strong authentication, and fine-grained authorization. Find open source and proprietary alternatives that serve similar purposes.

License:Apache-2.0
Stars:28,672
Difficulty:Medium
Pricing:Free
Hosting:Self-Hosted

Self-hosted alternatives to Keycloak

Open source projects that can replace Keycloak:

Authelia logo

Authelia

24,766
Apache-2.0

Authelia is a comprehensive authentication and authorization server that provides single sign-on (SSO) and two-factor authentication for web applications. It integrates with reverse proxies to secure access to your services through a modern web portal.

Key Features

  • Authentication Methods:

    • Username/password authentication
    • Two-factor authentication (2FA)
    • WebAuthn/FIDO2 support
    • Time-based One-Time Passwords (TOTP)
    • Mobile push notifications via Duo
    • Passwordless authentication with Passkeys
  • Access Control:

    • Fine-grained access rules
    • Domain-based policies
    • User/group based restrictions
    • Network-level controls
    • One-factor vs two-factor policy options
  • Integration Capabilities:

    • OpenID Connect 1.0 provider
    • OAuth 2.0 support
    • Reverse proxy compatibility
    • LDAP integration
    • Multiple storage backends
    • REST API access
  • Security Features:

    • Brute force protection
    • Password reset with email verification
    • Session management
    • Secure cookie handling
    • TLS support
    • Security headers

Who Should Use Authelia

Authelia is ideal for:

  • Organizations requiring self-hosted authentication
  • Teams needing SSO capabilities
  • Environments requiring 2FA/MFA
  • Security-conscious deployments
  • Multi-service infrastructures
  • Privacy-focused implementations

Installation Requirements

  • Reverse proxy (nginx, Traefik, etc.)
  • Storage backend (SQL database)
  • SMTP server for notifications
  • Redis (optional, for high availability)
  • Docker (recommended)

More auth projects

Discover other open source projects in the auth category:

Authentik
Authentik
Authentik is an open-source Identity Provider focused on flexibility and versatility. It supports multiple authentication protocols and can serve as a self-hosted alternative to commercial solutions like Okta, Auth0, and Entra ID.
authidentity
Stars
17,456
Relative Popularity
73
License
NOASSERTION
Casdoor
Casdoor
Casdoor is an open-source Identity and Access Management (IAM) / Single-Sign-On (SSO) platform with a web UI supporting multiple authentication protocols including OAuth 2.0, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, and more.
authidentity
Stars
11,929
Relative Popularity
51
License
Apache-2.0
ZITADEL
ZITADEL
ZITADEL is an open-source identity and access management platform with built-in multi-tenancy, providing authentication, authorization, and user management capabilities. It offers both self-hosted and cloud options with features like SSO, OIDC, SAML, and passkey support.
authidentity
Stars
11,292
Relative Popularity
48
License
AGPL-3.0
Logto
Logto
Logto is a modern, open-source authentication infrastructure focused on SaaS and AI applications. It provides multi-tenancy, enterprise SSO, and RBAC capabilities while simplifying OIDC and OAuth 2.1 implementation.
authidentity
Stars
10,505
Relative Popularity
43
License
MPL-2.0
Pocket ID
Pocket ID
Pocket ID is a simple OIDC provider focused on passkey authentication, allowing users to securely access services without passwords. It provides a streamlined alternative to more complex identity providers.
authidentity
Stars
3,536
Relative Popularity
14
License
BSD-2-Clause
FusionAuth
FusionAuth
FusionAuth is a modern customer identity and access management (CIAM) platform that provides authentication, authorization, and user management capabilities. It offers flexible deployment options including self-hosted and cloud-hosted solutions.
authidentity
Stars
94
Relative Popularity
1
License
Proprietary

Showing 1-6 of 6 projects in auth

Explore by Category

Find more projects in these tags