Skip to content
OpenSourceSoftware.ai

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?

Each choice is checked against live catalog data. Counts show how many projects meet it.

Licence
Activity
Language

The projects

Pick what matters below. For now the four projects are in order of GitHub stars.

Order: GitHub stars

Better Auth

Authentication libraries

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 TypeScript
30.9K starsMITTypeScriptLatest release 2 days agoWebsite ↗Full profile →

Auth.js

Authentication libraries

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 TypeScript
28.4K starsISCTypeScriptLatest release Jul 2026Website ↗Full profile →

Devise

Authentication libraries

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 Ruby
24.3K starsMITRubyLatest release May 2026Full profile →

django-allauth

Authentication libraries

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 Python
10.4K starsMITPythonNo GitHub release yetWebsite ↗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).

Data from GitHub and our catalog. Every listing is hand-approved, and star counts update daily.