Open source Auth0 alternatives

Every project in the catalog is MIT, Apache or BSD licensed. 1 projects explicitly describe themselves as a Auth0 alternative; 32 more are in the category where Auth0 is a typical product.

Projects that call themselves a “Auth0 alternative”

Source: the project's GitHub description or README.

SU

supertokens · Authentication & Identity

STARS15.3K
FORKS788
COMMITS—
CONTRIBUTORS36
VERSIONv9.3.4
UPDATED3 days ago
AuthenticationsessionoauthjwtApache-2.0

Alternative to (project's own claim): Auth0, Firebase Auth, AWS Cognito

Common commercial products in this category: Okta

What can it do?
  • You add secure login to your application via email, password, social networks, or password-free methods.
  • Using Frontend and backend SDK, you manage session token and session renewal processes.
  • You provide access control by identifying multi-tenancy, multi-factor authentication, and user roles.

Open source projects in the same category: Authentication & Identity

Category-level information: these projects are the same kind of software as Auth0; they have not claimed to be a one-to-one replacement.

KE

keycloak · Authentication & Identity

STARS37.6K
FORKS9.1K
COMMITS31.2K
CONTRIBUTORS1.8K
VERSIONnightly
UPDATEDtoday
JavaIAMSSOApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can add authentication to your applications with minimal effort.
  • You can configure user federation and strong authentication features.
  • You can secure their services by defining detailed authorisation rules.
Heads up
  • • High number of open issues (3,386)
User reviews
  • ↑ PositiveHacker News

    Keycloak: Open-source identity and access management

    “I share the same positive experience I read in this thread about Keycloak. Over the years it saved me a huge amount of time that I would have otherwise spent reinventing the wheel. Many thanks to the development team for building such awesome software. One feature that stands…”

  • ↑ PositiveHacker News

    Keycloak: Open-source identity and access management

    “By sits in front of I mean that it's a completely separate web application rather than a framework, library or proxy that is somehow bundled with your application. Whenever you want someone authenticated you redirect the user's browser to Keycloak. Keycloak will redirect the…”

Verified against README · Oct 26, 2026 · source

AU

authelia · Authentication & Identity

STARS29.5K
FORKS1.5K
COMMITS—
CONTRIBUTORS291
VERSIONv4.9.1
UPDATEDtoday
Go2faSSOApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You configure single sign-in (SSO) and OpenID Connect protocols for your applications.
  • You provide second-factor verification with security keys, time-based disposable passwords, or mobile notifications.
  • You define detailed access control rules based on criteria such as subdomain, user group, and network.
User reviews
  • ↑ PositiveHacker News

    Authelia is an open-source authentication/authorization server with 2FA/SSO

    “However, Authelia... is not an OAuth or OpenID Connect provider yet (planned in the roadmap) is not a SAML provider yet. does not support authentication against an OAuth or OpenID Connect provider yet. does not support authentication against a SAML provider yet. does not support…”

  • • NeutralHacker News

    Authelia is an open-source authentication/authorization server with 2FA/SSO

    “One of the Authelia devs here, we support a variety of methods of deployment as mentioned by a user below and include a systemd unit. If there is any deployment scenario you feel we've not accounted for that you prefer then we'd be more than willing to look at implementing it.”

Verified against README · Oct 26, 2026 · source

NE

nextauthjs · Authentication & Identity

STARS28.4K
FORKS4.0K
COMMITS4.0K
CONTRIBUTORS455
UPDATED3 mo ago
TypeScriptAuthenticationOAuthSecurityISC

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You do user authentication with OAuth services, OIDC, email, or Passkeys methods.
  • You store your data on your own servers using different database adapters such as MySQL, Postgres, MongoDB.
  • You can configure session security with JSON Web Token encryption and custom cookie policies.
Heads up
  • • High number of open issues (603)
User reviews
  • ↑ PositiveGitHub Issue

    Need to set NEXTAUTH_URL dynamically as an Option for multi-domain/multi-tenant use

    “**Your question** How to dynamically work with Passwordless/Email auth, without setting NEXTAUTH_URL. **What are you trying to do** I am working on a use-case where NEXTAUTH_URL is not fixed at deploy-time or build-time, but run-time, for a multi-domain (single codebase)…”

  • ↓ NegativeGitHub Issue

    Request timed out error while using Google provider

    “### Description 🐜 After following the docs for Prisma Adapter and Google Provider, I added auth to my repo, but when trying to log in through google auth, it's timing out for some reason. ![image]( I even tried with a longer timeout, but still no luck :( ```js providers: […”

Verified against README · Oct 26, 2026 · source

AU

goauthentik · Authentication & Identity

STARS26.2K
FORKS2.1K
COMMITS—
CONTRIBUTORS546
VERSIONversion/2026.8.0-rc1
UPDATEDtoday
ssooauth2samlidentityMIT (çekirdek) + ticari authentik/enterprise/

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • Using SAML, OAuth2 and LDAP protocols, you centralize the authentication processes of applications.
  • Using the Docker Compose, Kubernetes or AWS infrastructures, you install the identity management system on your own server.
  • With the corporate version, you can replace existing identity providers such as Okta, Auth0 or Entra ID with your own hosted solution.
Heads up
  • • High number of open issues (1,191)

Verified against README · Oct 26, 2026 · source

DE

heartcombo · Authentication & Identity

STARS24.4K
FORKS5.5K
COMMITS4.0K
CONTRIBUTORS374
VERSIONv5.0.4
UPDATED25 days ago
RubyRailsAuthenticationSecurityMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can manage user registration and login operations through the database.
  • With OmniAuth support, you can provide authentication through third-party services.
  • You can configure security processes such as password reset, email confirmation, and session timeout.
User reviews
  • • NeutralGitHub Issue

    getting "Can't verify CSRF token authenticity" even if csrf toke in present

    “I'm doing simple authentication (without ajax or api) and getting error for csrf authenticity token. I'm using latest version of rails and devise check the post request below ``` Parameters: {"utf8"=>"✓", "authenticity_token"=>"SJnGhXXUXjncnPhCdg3muV2GYCA8CX2LVFV78pqddD4=",…”

  • • NeutralGitHub Issue

    True ORM-agnosticism: There should be a clear and simple API requirement for models, like how action_pack has active_mod

    “Right now, devise pretends to be ORM-agnostic by having a lib/devise/orm/ directory with ORM implementations, but interfaces with the ORM in an ActiveRecord-specific manner, using the find(_) and update_attributes(_) methods and assuming an ActiveRecord-like hooks API. Instead,…”

Verified against README · Oct 26, 2026 · source

CA

apache · Authentication & Identity

STARS20.5K
FORKS1.8K
COMMITS1.2K
CONTRIBUTORS155
VERSIONv3.11.0
UPDATEDtoday
GoYetkilendirmeACL/RBAC/ABACSecurityApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You implement authorization controls based on ACL, RBAC and ABAC models.
  • You create correct access policies through the online editor.
  • You manage authorization processes in Golang projects.
User reviews
  • ↑ PositiveHacker News

    Casbin: An authorization library that supports authz models like ACL, RBAC, ABAC

    “We're actively evaluating this, particular b/c: Open, dynamic acl+rbc = modern google-docs-style policies for regular webapps, postgres adapters = no change in operations (vs keycloak, orly, ..). That's been a fairly unique combo. However, we're still doing our own eval because…”

  • • NeutralHacker News

    Casbin: An authorization library that supports authz models like ACL, RBAC, ABAC

    “Some factors where merely psychological, such a mistrust due to misleading partners listed in the website that should use the lib. For instance one logo is the one of SpaceX, which sadly is just a user group, nothing official. Another mention is Google which I didn’t find any…”

SA

dromara · Authentication & Identity

STARS19.1K
FORKS2.9K
COMMITS3.0K
CONTRIBUTORS116
VERSIONv1.46.0
UPDATED15 days ago
JavaYetkilendirmeOAuth2MicroserviceApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • With a one-line code call, you perform user logins.
  • You add permission control with annotations such as @SaCheckPermission or with route cutters (interceptor) API ends.
  • You can terminate sessions of a specific account ID and remove users from the system.

Verified against README · Oct 25, 2026 · source

HY

ory · Authentication & Identity

STARS17.6K
FORKS1.6K
COMMITS4.5K
CONTRIBUTORS301
VERSIONv26.2.0
UPDATED3 mo ago
GoOAuth2OIDCKimlik YönetimiApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can connect your existing identity providers to the OAuth 2.0 and OpenID Connect protocols.
  • You can manage user login and approval processes with your own interfaces.
  • You can perform token creation and verification on your high-traffic applications.
User reviews
  • ↓ NegativeHacker News

    Hydra: A lightweight OS X window manager with a powerful API

    “I'm not sure I fully agree. For example > Hydra must be stable. It should never crash It's clearly better to have an app that never crashes than an equivalent one that crashes all the time. However, making sure that your app is 100% crash-free isn't a zero cost thing. It takes…”

  • ↑ PositiveHacker News

    Hydra: A lightweight OS X window manager with a powerful API

    “This thread really does show the best of Hacker News. I wandered in here intrigued by Hydra and ended up checking out 3 or 4 open-source pieces of software that do similar things thanks to recommendations here. The choice is absolutely brilliant. I love seeing so many…”

OA

oauth2-proxy · Authentication & Identity

STARS15.3K
FORKS2.3K
COMMITS2.4K
CONTRIBUTORS413
VERSIONv7.15.4
UPDATEDtoday
GoReverse ProxyOAuth2OIDCMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • By placing it in front of your web applications, you make authentication via OAuth2 or OIDC.
  • You integrate it as an intermediate layer into existing reverse proxy server or load stabilizer infrastructures.
  • You transfer user information from identity providers to back-end applications via HTTP headers.
CA

casdoor · Authentication & Identity

STARS14.7K
FORKS1.9K
COMMITS—
CONTRIBUTORS292
VERSIONv3.99.0
UPDATEDtoday
identityoauth2oidcMulti-TenantApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You externalize password management by transferring the authentication processes of your applications to a central server.
  • You integrate your modern and old systems through a single server that supports different authentication protocols.
  • With Casbin-based authentication models, you define user access rules through the web interface.
User reviews
  • ↑ PositiveHacker News

    Casdoor: Open-source IAM and SaaS management solution

    “Casdoor is a promising open-source IAM solution: , written in Go and React. All features like OIDC, OAuth 2.0, SAML, CAS, LDAP, WebAuthn and 2FA are all supported. SaaS management is also supported like pricing, subscription etc. Source code: Compared to Keycloak, Casdoor has:…”

KR

ory · Authentication & Identity

STARS13.9K
FORKS1.2K
COMMITS5.3K
CONTRIBUTORS236
VERSIONv26.2.0
UPDATED3 mo ago
GoKimlik YönetimiAPICloud NativeApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can manage user registration and login processes in your application through HTTP API.
  • You can integrate methods such as social login, multi-factor authentication, and passkey into your system.
  • By switching from providers such as Auth0 or Okta, you can host identity management processes in your own infrastructure.
User reviews
  • • NeutralHacker News

    Show HN: Ory Kratos – Open-source identity server written in Go

    “That'd depend on the implementation details. Within the Ory ecosystem, you have Kratos (identity management), Hydra (OAuth2 & OIDC server, dealing mostly with token issuance, not so much with identities, which you have to provide externally) and Oathkeeper (API gateway). For…”

  • • NeutralHacker News

    Show HN: Ory Kratos – Open-source identity server written in Go

    “> 1. Ory Kratos provides session-based authentication and user management. > > 2. Ory Hydra is a self-managed server that secures access to your applications and APIs with OAuth 2.0 and OpenID Connect. Sounds about right. > 1. Bugs around traits meant we had issues around…”

YU

drduh · Authentication & Identity

STARS13.1K
FORKS1.2K
COMMITS744
CONTRIBUTORS135
VERSION—
UPDATED5 days ago
HTMLGnuPGSSHDonanım GüvenliğiMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You store your credentials for GnuPG and SSH hardwareally on YubiKey.
  • You transfer signature, encryption and authentication subkeys to the device.
  • With the help of the Certify key, you refresh or backup the keys.
Heads up
  • • No published release
User reviews
  • • NeutralGitHub Issue

    Using two yubikeys not covered under guide

    “So, this might require more feedback, as am currently flummoxed. If you want to use a Yubikey for Windows / MacOS / Linux login as part of a multi-factor authentication, then Yubico advises having a second Yubikey as backup. This works fine, since I can use a Yubikey Nano for…”

  • • NeutralGitHub Issue

    evaluate materials backup strategy

    “Any particular reason not to use tar+gpg for backups? LUKS seems error-prone compared to a single command of encrypting a folder. Thank you for the guide, by the way.”

JW

tymondesigns · Authentication & Identity

STARS11.5K
FORKS1.5K
COMMITS1.5K
CONTRIBUTORS68
VERSION2.3.0
UPDATED6 days ago
PHPLaravelJWTAuthenticationMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can manage user authentication using JWT on their Laravel-based project.
  • In Lumen applications, you can protect the API endpoint with a token-based structure.
  • You can configure secure session management processes through a standard protocol.
Heads up
  • • High number of open issues (612)
User reviews
  • • NeutralGitHub Issue

    Using JWTGuard with Laravel 5.3.x "Guide"

    “Okay, I've got a bit of time, and need to set up a new project with Laravel 5.3 and JWTGuard. @tymondesigns I hope you don't mind this being in your issues similar to my other "guide" (#513), and if so I can try and find a different spot, but I don't write blogs or tutorials.…”

  • • NeutralGitHub Issue

    Laravel 5.5 + Vue.js 2 + JWT Auth 1.0.0-rc.1

    “Since I lost tons of time doing **tymon/jwt-auth** work in my application, I decided to share my code in this walkthrough. **FOR LARAVEL:** Add `"tymon/jwt-auth": "1.0.0-rc.1"` to **composer.json** and run `composer update` Add the service provider to the providers array in…”

CA

cas

100

apereo · Authentication & Identity

STARS11.4K
FORKS4.0K
COMMITS34.9K
CONTRIBUTORS330
VERSIONv7.3.8.2
UPDATEDtoday
JavaSSOAuthenticationSAMLApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You can manage central authentication processes using SAML, OAuth and OpenID Connect protocols.
  • You can verify user identities through different data sources such as LDAP, RDBMS, MongoDB and RADIUS.
  • With methods such as Duo Security, YubiKey, or WebAuthn, you can add multifactor authentication to your applications.
DJ

pennersr · Authentication & Identity

STARS10.4K
FORKS3.1K
COMMITS0
CONTRIBUTORS0
VERSION—
UPDATEDtoday
PythonDjangoAuthenticationOAuthMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You enable login by username or email.
  • You perform authentication through third-party social accounts.
  • You integrate authentication streams between local accounts and social accounts.
Heads up
  • • No published release
User reviews
  • ↑ PositiveGitHub Issue

    Improve ease of integration for 3rd party REST/JSON APIs

    “Hello guys, I am using django allauth in a variety of application that i make and its awesome! Right now, I am trying to develop a login process in two separate steps. I have a client(mobile) social login with some provider(twitter, Facebook) and the client takes the oauth…”

  • • NeutralGitHub Issue

    Login using code (was: Magic Link Login)

    “Logging in with a magic link like on [slack ]( [here](”

NH

nhost · Authentication & Identity

STARS9.4K
FORKS640
COMMITS0
CONTRIBUTORS0
UPDATEDtoday
GoGraphQLPostgreSQLFirebase AlternativeMIT

Alternative to (project's own claim): Firebase

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • Using the PostgreSQL database and Hasura, you instantly create GraphQL API.
  • With Nhost CLI, you set up the local development environment and follow the database migration process.
  • You perform user authentication and data queries with JavaScript, TypeScript or Flutter clients.
User reviews
  • • NeutralHacker News

    Show HN: Nhost – Open source Firebase alternative with GraphQL

    “Every Nhost project runs on open source software: - Database (PostgreSQL) - GraphQL API (Hasura) - Auth & Storage (Hasura Backend Plus) - Storage server (Minio) You can read more about self hosting here: We automatically configure and host these open source softwares as part of…”

  • • NeutralHacker News

    Show HN: Nhost – Open source Firebase alternative with GraphQL

    “100% yes. If you want to leave Nhost for some reason we'll help you with that. We already helped one customer in India doing this. They are a consultant agency and their customer had a requirement to be on AWS (We currently use Digital Ocean).”

OM

omniauth · Authentication & Identity

STARS8.1K
FORKS971
COMMITS0
CONTRIBUTORS0
VERSIONv2.1.4
UPDATEDyesterday
RubyAuthenticationRack MiddlewareOAuthMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You do user authentication through different services in your application.
  • In the development process, you use the built-in developer strategy for temporary authentication.
  • You configure it as intermediate software on rack-based structures or roofs such as Sinatra and Rails.
User reviews
  • • NeutralHacker News

    Easy Rails OAuth integration testing with Omniauth and Capybara

    “Proper in this case: OmniAuth abstracts away the actual OAuth process and, as is always proper, you should be testing your application code not your libraries.”

  • • NeutralHacker News

    Easy Rails OAuth integration testing with Omniauth and Capybara

    “I recently started using Omniauth & Capybara like this. It seems to work easily enough even for a relative testing novice like me.”

DE

deepstreamIO · Authentication & Identity

STARS7.2K
FORKS382
COMMITS0
CONTRIBUTORS0
VERSIONv10.2.2
UPDATED19 days ago
TypeScriptNode.jsReal-TimeMessagingMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • Through records, you can do real-time document synchronization between clients and backend processes.
  • You can set up high-performance messaging systems using the event-based broadcast-subscription structure.
  • With remote procedure calls, you can create secure and load-balanced request-response workflows.
User reviews
  • ↑ PositiveGitHub Issue

    deepstream.io client for C / C++

    “Create a deepstream.io client for C / C++, that connects to deepstream via TCP and supports Authentication, Permissioning, Records, Events and RPCs. It might make sense to take IoT (Arduino etc.) compatibility into account for the design. **Great resources to get started:**…”

  • ↑ PositiveGitHub Issue

    deepstream.io client for Python

    “Create a deepstream.io client for Python, that connects to deepstream via TCP and supports Authentication, Permissioning, Records, Events and RPCs. **Great resources to get started:** [Writing a deepstream client]( [Deepstream Messaging structure]( [Detailed Cucumber Specs for…”

GO

grpc-ecosystem · Authentication & Identity

STARS6.8K
FORKS743
COMMITS0
CONTRIBUTORS0
VERSIONv2.3.4
UPDATED24 days ago
GogRPCMiddlewareInterceptorApache-2.0

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You run multiple gRPC interconnectors sequentially with a chain structure.
  • You add observable signals with logging, metric collection, and tracking tools.
  • You integrate authentication and error recovery mechanisms into gRPC services.
User reviews
  • • NeutralGitHub Issue

    go-grpc-middleware.v2: Action Plan.

    “Hi :wave: We have tons of stuff to improve in this library and there wasn't really time for this. Let's do it finally! Let's maintain this issue as a single place to track our work. :muscle: cc @domgreen @johanbrandhorst @mwitkow The plan is to start from scratch in the `v2`…”

DO

doorkeeper-gem · Authentication & Identity

STARS5.5K
FORKS1.1K
COMMITS0
CONTRIBUTORS0
VERSIONv5.9.9
UPDATEDyesterday
RubyOAuth 2RailsAuthenticationMIT

Common commercial products in this category: Auth0, Okta, AWS Cognito

What can it do?
  • You add Ruby on Rails or OAuth 2 provider functionality to your Grape app.
  • You manage different OAuth 2 streams, such as authorization code, renewal token, and client credentials.
  • You integrate token cancellation into your application of security standards such as insight (introspective) and PKCE.
User reviews
  • ↓ NegativeHacker News

    CSRF in Doorkeeper OAuth2 gem

    “While I believe that allowing CSRF is terrible practice, as a user of Doorkeeper, I think the problem here is Digital Ocean's atypical usage of OAuth2. When you request an access token for a resource owner in OAuth2, you are supposed _actually authenticate_ the owner. According…”

  • • NeutralHacker News

    CSRF in Doorkeeper OAuth2 gem

    “This is pretty bad, but I believe it is only possible to get an access token if you also allow malicious/non-trusted users to either create new OAuth client registrations (`Doorkeeper::Application` models) or modify the redirect URI of an existing OAuth client registration. The…”