For authentication utilities, the strongest matches are marmotedu/iam (This Go-based identity and access management system acts as), ory/kratos (Ory Kratos is a robust identity management server that) and pennersr/django-allauth (This repository provides a comprehensive authentication framework for Django). justauth/justauth and authelia/authelia round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked open-source authentication libraries ranked by stars and activity, with alternatives compared. Compare and pick the right one.
This project is a Go-based identity and access management system that functions as a centralized authentication and authorization server. It provides a framework for managing user identities and controlling access to resources within enterprise environments. The system implements a role-based access control model, where permissions are grouped into roles and mapped to specific user accounts to manage resource access levels. The codebase covers the implementation of user authentication systems, identity management, and backend security patterns. It utilizes a database-backed identity store an
This Go-based identity and access management system acts as a centralized authentication and authorization server, providing role-based access control, JWT authentication, and user identity management out of the box.
Kratos is a centralized identity and access management server designed to handle user registration, authentication, and profile management. It functions as an identity flow orchestrator, managing the state and security of authentication processes across web, mobile, and command-line interfaces. The system provides a standards-compliant authorization server that issues tokens and manages delegated access for third-party applications and internal services, supporting multi-factor authentication and custom identity schemas to secure user accounts. The project distinguishes itself through a headl
Ory Kratos is a robust identity management server that provides user registration, authentication, multi-factor authentication, and session management out of the box.
django-allauth is a comprehensive authentication framework for Django applications that manages user registration, account ownership verification, and secure login processes. It provides a system for handling the entire user account lifecycle, including the ability to define custom signup fields and implement identity verification. The project distinguishes itself by providing a suite of OAuth and SAML integrations for social account authentication and the capability to act as an OpenID Connect identity provider. It further supports decoupled architectures through a token-based headless authe
This repository provides a comprehensive authentication framework for Django that supports social logins, OAuth2, OpenID Connect, multi-factor authentication, and token-based headless flows, fitting the required category well despite being tied to a specific web framework.
JustAuth is an OAuth 2.0 authentication library designed to integrate multiple third-party login providers into a single interface. It abstracts various social login APIs and identity services, allowing applications to manage authentication using the OAuth 2.0 and OIDC protocols. The project provides a multi-provider identity integrator that replaces the need for individual vendor software development kits. It includes a toolkit for defining custom authentication platforms and proprietary identity services by specifying custom OAuth protocols and endpoints. The library manages the full authe
JustAuth is a Java library for integrating third-party social login and OAuth 2.0/OIDC providers into applications, though it focuses primarily on external authentication rather than full local user identity management and access control.
Authelia is a centralized identity and access management server designed to secure web applications through unified authentication and authorization. It functions as an identity authority that enables single sign-on across diverse platforms, allowing users to access multiple services with a single set of credentials. By acting as a standards-compliant provider, it facilitates secure identity propagation and token issuance for client applications. The platform distinguishes itself through its ability to integrate directly with web gateways as a reverse proxy authentication middleware, intercep
Authelia is a centralized identity and access management server providing multi-factor authentication, single sign-on, and standards-compliant OAuth2/OIDC support as a reverse proxy middleware.
Casdoor is a centralized identity and access management platform that functions as an OAuth 2.0 authorization server. It provides a comprehensive suite of services for managing user identities, authentication sessions, and access policies across both web and machine-to-machine applications. Built with a decoupled frontend-backend architecture in Go, the platform supports high-concurrency environments and offers a web-based management interface for administrative tasks. The platform distinguishes itself through its extensive support for federated identity management, allowing integration with
Casdoor is a centralized identity and access management platform offering OAuth 2.0, OIDC, MFA, session management, and role-based access control out of the box.
This project is a cloud-native identity and access management platform designed to centralize authentication, authorization, and identity lifecycle management. It functions as a standards-compliant OpenID Connect authorization server, providing secure session management and token issuance for web, mobile, and device-based applications. The platform is built to handle complex identity requirements through stateless token authentication and support for modern passwordless methods, including biometrics and hardware keys. What distinguishes this platform is its native support for multi-tenant env
Zitadel is a cloud-native identity and access management platform that provides OIDC, OAuth2, JWT token handling, multi-factor authentication, role-based access control, and session management out of the box.
This project is an open-source identity provider and single sign-on platform that centralizes user authentication for multiple web applications and services. It functions as a multi-protocol authentication gateway, verifying user identities and issuing tokens through the CAS protocol as well as industry standards including SAML, OAuth2, and OpenID Connect. The system acts as a federated identity server, allowing authentication to be delegated to external third-party or corporate identity providers. It distinguishes itself through identity attribute governance, which manages which specific use
Apereo CAS is a robust open-source identity provider and single sign-on platform that natively delivers OAuth2, OpenID Connect, multi-factor authentication, role-based access control, and session management for centralized application security.
Hanko is an open-source identity provider and customer identity and access management system. It serves as a passkey authentication service and an OAuth and SAML SSO gateway, allowing applications to authenticate users and issue tokens via standard identity protocols. The project distinguishes itself through a strong focus on passwordless access using WebAuthn-based passkeys and email-based passcodes. It provides framework-agnostic authentication interfaces as customizable web components that can be embedded directly into web applications to handle login, registration, and profile management.
Hanko is a modern open-source identity provider and customer identity management system that natively supports passkeys, JWT issuance, OAuth, session management, and multi-factor authentication.
Doorkeeper is an OAuth 2 authorization server and provider for Ruby on Rails and Grape applications. It provides the necessary framework to build an authorization server that issues and validates security tokens for third-party applications, effectively acting as a security middleware to protect API endpoints. The project integrates an identity layer via OpenID Connect to verify user identities and retrieve profile information. It supports a variety of security patterns, including the implementation of the PKCE flow for public clients and the issuance of stateless JSON Web Tokens. Its broade
Doorkeeper is a robust Ruby authentication and authorization library that provides OAuth2 and OpenID Connect server capabilities with JWT support and session management, though it focuses specifically on server-side provider logic rather than a full turnkey identity management suite.
This project is a modular authentication framework designed to manage user identity, session tracking, and access control across web applications. It provides a unified solution for handling email-based credentials and social identity federation, allowing developers to implement secure login and registration flows that maintain consistent user states across client and server environments. The system utilizes a plugin-based architecture and middleware-driven request interception to allow for the extension of core authentication logic. It features type-safe schema generation, which derives data
Better Auth is a modular authentication framework for web applications that includes session tracking, social federation, and an extensible plugin architecture fitting this identity management requirement.
Authboss is a modular authentication framework designed to manage user identity and account orchestration. It provides a comprehensive system for handling user registration, email verification, and the full lifecycle of user profiles. The framework distinguishes itself through a focused suite of security and identity tools, including multi-factor authentication via time-based passwords and SMS, and identity integration with external providers using OAuth1 and OAuth2 protocols. It also includes a dedicated account security manager that implements brute-force protection through credential-based
Authboss is a modular Go authentication framework that provides user identity management, OAuth2 integration, multi-factor authentication, and session handling, though it lacks built-in OpenID Connect and explicit RBAC out of the box.
Authorizer is an open-source identity provider that functions as a centralized authentication and authorization platform. It manages user identities and session lifecycles by implementing standard OpenID Connect protocols, allowing for secure verification across web, mobile, and backend applications. The service is designed as a containerized microservice that provides a unified interface for administrative and authentication operations. The platform distinguishes itself through a multi-tenant architecture that isolates authentication rules and user data across different business domains. It
Authorizer is a centralized identity provider and authentication platform that supports OAuth2, OpenID Connect, JWT, multi-factor authentication, role-based access control, and social logins, fitting the core requirements well.
SuperTokens Core is an open-source, self-hosted authentication and identity management platform designed for deployment within private infrastructure. It provides a comprehensive suite for managing user accounts, roles, and secure authentication flows, utilizing a modular, recipe-based architecture that allows developers to enable specific security features without modifying the core codebase. The platform distinguishes itself through its robust multi-tenancy capabilities, which allow for the logical or physical isolation of user records and configuration settings across different organizatio
SuperTokens Core provides self-hosted user authentication, identity management, and session handling, though you will need its companion frontend SDKs to cover all requested login flows and features.
Tinyauth is an authentication middleware service and identity provider that verifies user identities to grant system access. It operates as a standalone server or as an authentication gateway, utilizing a reverse proxy model to intercept requests and validate credentials before traffic reaches protected backend services. The project functions as an OpenID Connect provider for single sign-on experiences and an OAuth 2.0 gateway that delegates verification to external providers such as Google and GitHub. It also acts as an LDAP authentication server, allowing for centralized user management and
Tinyauth provides authentication middleware and an identity provider service with support for OAuth2, OpenID Connect, multi-factor authentication, and session management, acting as a gateway rather than an embedded application library.
This project is a reverse proxy server that secures internal web services by enforcing authentication against external identity providers. It acts as a gatekeeper for incoming HTTP traffic, validating user identity before forwarding requests to protected backend applications. By integrating with OAuth2 and OIDC providers, the proxy ensures that only authorized users can access internal resources. The proxy distinguishes itself through its flexible session management and granular access control. It maintains authenticated user state across requests using either encrypted client-side cookies or
OAuth2 Proxy is a reverse proxy service that handles authentication and identity management by integrating with external identity providers, though as a gateway it operates at the infrastructure layer rather than as an application library.
Logto is an open-source identity provider that serves as a centralized authentication and authorization server for web, mobile, and command-line applications. It implements the OpenID Connect and OAuth 2.1 standards to handle secure user sign-in and the issuance of identity tokens. The platform is specifically designed as a multi-tenant authentication framework for software-as-a-service environments, featuring built-in organization management and tenant isolation. It includes an enterprise single sign-on gateway to integrate external identity providers and supports role-based access control t
Logto is an open-source identity provider and authentication server that implements OpenID Connect and OAuth 2.1, supporting multi-tenancy, role-based access control, and enterprise SSO.
Keycloak is an open-source identity and access management server that provides a centralized platform for user authentication, authorization, and identity federation. It functions as a standards-compliant identity provider, utilizing a centralized engine to validate credentials and issue cryptographically signed tokens based on industry-standard protocols like OpenID Connect and SAML. This enables organizations to secure diverse applications and services through a unified authentication layer. The platform distinguishes itself through its cloud-native orchestration and high-availability capab
Keycloak is an open-source identity and access management server that natively provides OAuth2, OpenID Connect, multi-factor authentication, role-based access control, and comprehensive session management out of the box.
Authentik is a centralized identity and access management platform designed to serve as a unified authentication authority. It enables enterprise single sign-on across diverse applications and services, providing a cloud-native identity provider that manages user sessions and security protocols from a single location. The platform distinguishes itself through a policy-driven flow engine and a visual orchestration interface. This allows administrators to design complex, custom authentication workflows by chaining modular verification stages and conditional logic. These workflows can be further
Authentik is a centralized identity and access management platform that provides comprehensive single sign-on, OAuth2, OIDC, session management, and access control capabilities.
Authboss is a modular HTTP authentication framework for managing user identity, session lifecycles, and password security. It provides a system of identity access middleware to control route access and synchronize user identity across requests via standard web protocols. The framework is distinguished by a pluggable architecture that allows for the registration of independent modules to extend identity logic. It utilizes a hook-based event system to execute custom business logic during authentication state changes and employs a selector-verifier token pattern to protect against timing attacks
Authboss is a modular Go HTTP authentication framework that handles identity management, session lifecycles, and access control middleware, though it lacks built-in OAuth2 and OpenID Connect modules out of the box.
Dex is an OpenID Connect provider and identity federation proxy that translates authentication signals from various upstream sources into a unified OpenID Connect interface. It functions as a multi-protocol identity broker, enabling client applications to implement a single standard while delegating user verification to external identity providers. The project distinguishes itself through a pluggable connector architecture that bridges disparate protocols including LDAP, SAML, and OAuth2. It provides specific integrations for services such as GitHub, Google, GitLab, and Microsoft, while offer
Dex is an identity federation proxy and OpenID Connect provider that handles authentication and session integration, making it a fitting service for application access control despite lacking a built-in user database or full role-based access control engine.
Kanidm is a centralized identity management server designed to handle authentication, authorization, and directory services across distributed infrastructure. It provides a comprehensive framework for managing human and service accounts, utilizing a schema-driven database to store identity records, group memberships, and system attributes. The platform supports a wide range of authentication methods, including passkeys, passwords, and standard protocols like OAuth2, OIDC, LDAP, and RADIUS. The system distinguishes itself through a granular access control engine that enforces security policies
Kanidm is a centralized identity management and authentication server that covers core protocols like OAuth2, OIDC, and access control, though it is designed as a standalone server rather than an application-embedded library.
Next-auth is an authentication and identity management library for web frameworks. It provides a unified system for handling user sign-in and session state across server and client environments, functioning as a session management framework and an OIDC authentication library. The project distinguishes itself through a provider-based identity abstraction that supports multiple authentication methods, including OAuth, email magic links, traditional credentials, and passwordless passkeys. It allows for the registration of custom OAuth or OIDC compliant providers and offers tools to define branda
This repository provides a robust authentication and identity management library for web applications, supporting OAuth, OIDC, JWT tokens, and session management, though it is primarily tailored to the Next.js and web framework ecosystem rather than being a generic server-side middleware.
Devise is a comprehensive identity management system and authentication framework for Ruby on Rails applications. It provides a complete set of tools for managing user registration, secure sign-in, and session handling using a modular strategy pattern. The framework distinguishes itself by offering a suite of security hardening features, including brute force protection through account locking and secure password recovery workflows. It also functions as an integrator for external identity providers and third-party authentication via standardized protocols. Broad capabilities cover the full u
Devise is a comprehensive authentication framework and identity management system for Ruby on Rails, providing robust session handling, security hardening, and extensible sign-in strategies well-suited for application development.
| Repository | Stele | Limbaj | Licență | Ultimul push |
|---|---|---|---|---|
| marmotedu/iam | 4.2K | Go | NOASSERTION | |
| ory/kratos | 13.5K | Go | apache-2.0 | |
| pennersr/django-allauth | 10.3K | Python | MIT | |
| justauth/justauth | 17.5K | Java | MIT | |
| authelia/authelia | 26.8K | Go | apache-2.0 | |
| casdoor/casdoor | 13.8K | Go | Apache-2.0 | |
| zitadel/zitadel | 13K | Go | agpl-3.0 | |
| apereo/cas | 11.3K | Java | Apache-2.0 | |
| teamhanko/hanko | 8.8K | Go | other | |
| doorkeeper-gem/doorkeeper | 5.5K | Ruby | MIT |