Best Open Source oauth Libraries
A curated list of the most popular GitHub repositories tagged with oauth. Select any project to visualize its architecture and dive into the codebase using RepoMind's AI engine.
#1tailscale/tailscale
The easiest, most secure way to use WireGuard and 2FA.
#2nextauthjs/next-auth
Authentication for the Web.
#3better-auth/better-auth
The most comprehensive authentication framework for TypeScript
#4jaredhanson/passport
Simple, unobtrusive authentication for Node.js.
#5casbin/casbin
An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN
#6mikeroyal/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.
#7supertokens/supertokens-core
Open source alternative to Auth0 / Firebase Auth / AWS Cognito
#8casdoor/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
#9teamhanko/hanko
Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.
#10stack-auth/stack-auth
Open-source Auth0/Clerk alternative
#11NangoHQ/nango
API access for agents & apps.
#12thephpleague/oauth2-server
A spec compliant, secure by default PHP OAuth 2.0 Server