Best Open Source authentication Libraries
A curated list of the most popular GitHub repositories tagged with authentication. Select any project to visualize its architecture and dive into the codebase using RepoMind's AI engine.
#1pocketbase/pocketbase
Open Source realtime backend in 1 file
#2nextauthjs/next-auth
Authentication for the Web.
#3authelia/authelia
The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™
#4better-auth/better-auth
The most comprehensive authentication framework for TypeScript
#5heartcombo/devise
Flexible authentication solution for Rails with Warden.
#6goauthentik/authentik
The authentication glue you need.
#7casbin/casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
#8mikeroyal/Self-Hosting-Guide
Self-Hosting Guide. Learn all about locally hosting (on premises & private web servers) and managing software applications by yourself or your organization. Including Cloud, LLMs, WireGuard, Automation, Home Assistant, and Networking.
#9supertokens/supertokens-core
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
#10wasp-lang/open-saas
A free, open-source SaaS app starter for React & Node.js with superpowers. Full-featured. Community-driven.
#11zitadel/zitadel
ZITADEL - Identity infrastructure, simplified for you.
#12casdoor/casdoor
An open-source AI-first Identity and Access Management (IAM) /AI MCP gateway and auth server with web UI supporting MCP, A2A, OAuth 2.1, OIDC, SAML, CAS, LDAP, SCIM, WebAuthn, TOTP, MFA, Face ID, Google Workspace, Azure AD
#13nhost/nhost
The Open Source Firebase Alternative with GraphQL.
#14teamhanko/hanko
Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.
#15steveiliop56/tinyauth
The simplest way to protect your apps with a login screen.
#16ixartz/SaaS-Boilerplate
🚀🎉📚 SaaS Boilerplate built with Next.js + Tailwind CSS + Shadcn UI + TypeScript. ⚡️ Full-stack React application with Auth, Multi-tenancy, Roles & Permissions, i18n, Landing Page, DB, Logging, Testing
#17grpc-ecosystem/go-grpc-middleware
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.
#18stack-auth/stack-auth
Open-source Auth0/Clerk alternative
#19firebase/firebase-ios-sdk
Firebase SDK for Apple App Development