back to home

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.

28,610Go
Analyze Code

#2nextauthjs/next-auth

Authentication for the Web.

28,085TypeScript
Analyze Code

#3better-auth/better-auth

The most comprehensive authentication framework for TypeScript

26,363TypeScript
Analyze Code

#4jaredhanson/passport

Simple, unobtrusive authentication for Node.js.

23,516JavaScript
Analyze Code

#5casbin/casbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

19,854Go
Analyze Code

#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.

18,702Dockerfile
Analyze Code

#7supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

14,925Java
Analyze Code

#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

13,034Go
Analyze Code

#9teamhanko/hanko

Modern authentication, on your terms. Open source alternative to Auth0, Clerk, WorkOS, Stytch.

8,811Go
Analyze Code

#10stack-auth/stack-auth

Open-source Auth0/Clerk alternative

6,706TypeScript
Analyze Code

#11NangoHQ/nango

API access for agents & apps.

6,670TypeScript
Analyze Code

#12thephpleague/oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server

6,640PHP
Analyze Code