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,789Go
Explore Repo

#2nextauthjs/next-auth

Authentication for the Web.

28,152TypeScript
Explore Repo

#3better-auth/better-auth

The most comprehensive authentication framework for TypeScript

27,242TypeScript
Explore Repo

#4authelia/authelia

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

27,236Go
Explore Repo

#5goauthentik/authentik

The authentication glue you need.

21,410Python
Explore Repo

#6apache/casbin

Apache Casbin: an authorization library that supports access control models like ACL, RBAC, ABAC.

19,924Go
Explore Repo

#7mikeroyal/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,942Dockerfile
Explore Repo

#8supertokens/supertokens-core

Open source alternative to Auth0 / Firebase Auth / AWS Cognito

14,970Java
Explore Repo

#9logto-io/logto

🧑‍🚀 Authentication and authorization infrastructure for SaaS and AI apps, built on OIDC and OAuth 2.1 with multi-tenancy, SSO, and RBAC.

12,002TypeScript
Explore Repo

#10apereo/cas

Apereo CAS - Identity & Single Sign On for all earthlings and beyond.

11,325Java
Explore Repo

#11nhost/nhost

The Open Source Firebase Alternative with GraphQL.

9,106TypeScript
Explore Repo

#12teamhanko/hanko

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

8,867Go
Explore Repo

#13git-ecosystem/git-credential-manager

Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.

8,674C#
Explore Repo

#14tinyauthapp/tinyauth

The tiniest authentication and authorization server you have ever seen.

7,341Go
Explore Repo

#15dpgaspar/Flask-AppBuilder

Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/

4,946Python
Explore Repo

#16voidauth/voidauth

Single Sign-On for Your Self-Hosted Universe

2,107TypeScript
Explore Repo

#17python-social-auth/social-core

Python Social Auth - Core

912Python
Explore Repo

#18wso2/product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.

853Java
Explore Repo

#19janko/rodauth-rails

Rails integration for Rodauth authentication framework

748HTML
Explore Repo

#20LinOTP/LinOTP

LinOTP - the open source solution for two factor authentication

545Python
Explore Repo

#21thunder-id/thunder-id

Thunder is a Go based Identity and Access Management product by WSO2

167Go
Explore Repo