Categories / Security & Privacy / Authentication libraries Security & Privacy
Open-source authentication libraries Four hand-approved projects in our catalog do this job. Better Auth has the most GitHub stars (30.9K) and also grew fastest this week (+105). Tick what matters to you and the list re-sorts so the closest fits come first.
What matters to you?Clear Each choice is checked against live catalog data. Counts show how many projects meet it.
Licence Permissive licence (MIT, Apache, BSD) MIT, Apache-2.0 or BSD 4/4 meet it Copyleft is fine Any OSI licence: GPL, AGPL, MPL or permissive. Source-available does not count. 4/4 meet it Activity Released in the last 90 days A GitHub release since Aug 29, 2026 1/4 meet it Gaining stars this week 10 or more new GitHub stars in 7 days 1/4 meet it Language Written in Python Main language on GitHub 1/4 meet it Written in Ruby Main language on GitHub 1/4 meet it Written in TypeScript Main language on GitHub 2/4 meet it The projects Pick what matters below. For now the four projects are in order of GitHub stars.
Order: GitHub stars Add sign-in, two-factor and organizations to a TypeScript app.
Email and password, social sign-on and account and session management built in. Plugins add passkeys, multi-tenancy, multi-session support and SSO. Works with most popular frameworks and handles its own database migrations. Meets: Permissive licenceMeets: Open-source licenceMeets: Released ≤ 90 daysMeets: Gaining starsMeets: Written in TypeScript30.9K starsMIT TypeScript Latest release 2 days ago Website ↗ Full profile → Add sign-in to your own web app and keep user data under your control.
Sign-in through more than 80 services such as GitHub, Google and Okta, plus email magic links. Packages for Next.js, SvelteKit, Express, Qwik and SolidStart. More than 20 database adapters, or no database at all with encrypted JWT sessions. Meets: Permissive licenceMeets: Open-source licenceDoes not meet: Released ≤ 90 daysDoes not meet: Gaining starsMeets: Written in TypeScript28.4K starsISC TypeScript Latest release Jul 2026 Website ↗ Full profile → Add sign-up, sign-in and password resets to a Ruby on Rails app.
10 modules you switch on one at a time, from password sign-in to account lockout. A complete MVC solution for Rails, based on Rails engines. OmniAuth support for signing in with third-party accounts. Meets: Permissive licenceMeets: Open-source licenceDoes not meet: Released ≤ 90 daysDoes not meet: Gaining starsMeets: Written in Ruby24.3K starsMIT Ruby Latest release May 2026 Full profile → Add accounts and social login to a Django app.
Local accounts and social login in one set of flows. Any OpenID Connect provider, many OAuth 1.0 and 2.0 providers, and SAML 2.0. Rate limiting on by default, and protection against revealing who has an account. Meets: Permissive licenceMeets: Open-source licenceDoes not meet: Released ≤ 90 daysDoes not meet: Gaining starsMeets: Written in Python10.4K starsMIT Python No GitHub release yet Website ↗ Full profile → How the four compare All four use permissive licences (MIT, ISC). One has published a GitHub release in the last 90 days. Better Auth gained the most GitHub stars this week (+105). By main language: TypeScript (2), Python (1) and Ruby (1).
Most projects first.
Data from GitHub and our catalog. Every listing is hand-approved, and star counts update daily.