back to home

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

56,268Go
Analyze Code

#2nextauthjs/next-auth

Authentication for the Web.

28,085TypeScript
Analyze Code

#3authelia/authelia

The Single Sign-On Multi-Factor portal for web apps, now OpenID Certified™

26,811Go
Analyze Code

#4better-auth/better-auth

The most comprehensive authentication framework for TypeScript

26,363TypeScript
Analyze Code

#5heartcombo/devise

Flexible authentication solution for Rails with Warden.

24,335Ruby
Analyze Code

#6goauthentik/authentik

The authentication glue you need.

20,229Python
Analyze Code

#7casbin/casbin

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

19,854Go
Analyze Code

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

18,702Dockerfile
Analyze Code

#9supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

14,925Java
Analyze Code

#10wasp-lang/open-saas

A free, open-source SaaS app starter for React & Node.js with superpowers. Full-featured. Community-driven.

13,408TypeScript
Analyze Code

#11zitadel/zitadel

ZITADEL - Identity infrastructure, simplified for you.

13,047Go
Analyze Code

#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

13,034Go
Analyze Code

#13nhost/nhost

The Open Source Firebase Alternative with GraphQL.

9,077TypeScript
Analyze Code

#14teamhanko/hanko

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

8,811Go
Analyze Code

#15steveiliop56/tinyauth

The simplest way to protect your apps with a login screen.

6,981Go
Analyze Code

#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

6,840TypeScript
Analyze Code

#17grpc-ecosystem/go-grpc-middleware

Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.

6,727Go
Analyze Code

#18stack-auth/stack-auth

Open-source Auth0/Clerk alternative

6,706TypeScript
Analyze Code

#19firebase/firebase-ios-sdk

Firebase SDK for Apple App Development

6,527C++
Analyze Code