# logto-io/logto

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

- GitHub: https://github.com/logto-io/logto
- Website: https://logto.io
- Category: Auth & Payments (https://ideas.asveas.com/c/auth-payments)
- Tags: authentication, authorization, email, identity, jwt, login, logto, mfa, oauth2, openid-connect, password, passwordless, rbac, saml
- Language: TypeScript · License: MPL-2.0
- Stars: 14,906 · Forks: 1,222 · Open issues: 142
- Last push: 2026-11-11 (today)
- Vibe score: 87/100

## What it is
Logto is the modern, open-source auth infrastructure for SaaS and AI apps. It takes the pain out of OIDC and OAuth 2.1 and makes it easy to build secure, production-ready auth with multi-tenancy, enterprise SSO, and RBAC. Built for teams scaling SaaS, AI, and agent-based platforms without the usual auth headaches.

## When to use it
Reach for logto when you need sign-in, users, permissions, subscriptions or getting paid — it's written in TypeScript and fits stacks tagged authentication, authorization, email, identity.

## Maintenance
logto-io/logto looks very actively maintained: the last push was today (2026-11-11), with 14,906 stars and 142 open issues.

## Quick start
```bash
git clone https://github.com/logto-io/logto.git
```

## Alternatives in Auth & Payments
- [keycloak/keycloak](https://github.com/keycloak/keycloak) — Open Source Identity and Access Management For Modern Applications and Services (★37.8k, Java, vibe 91/100) · details: https://ideas.asveas.com/r/keycloak/keycloak
- [better-auth/better-auth](https://github.com/better-auth/better-auth) — The most comprehensive authentication framework (★30.7k, TypeScript, vibe 90/100) · details: https://ideas.asveas.com/r/better-auth/better-auth
- [polarsource/polar](https://github.com/polarsource/polar) — Polar — A billing platform for the intelligence era (★10.5k, Python, vibe 85/100) · details: https://ideas.asveas.com/r/polarsource/polar
- [stripe/stripe-node](https://github.com/stripe/stripe-node) — Node.js library for the Stripe API. (★4.6k, TypeScript, vibe 77/100) · details: https://ideas.asveas.com/r/stripe/stripe-node
- [nextauthjs/next-auth](https://github.com/nextauthjs/next-auth) — Authentication for the Web. (★28.4k, TypeScript, vibe 72/100) · details: https://ideas.asveas.com/r/nextauthjs/next-auth
- [lucia-auth/lucia](https://github.com/lucia-auth/lucia) — Authentication, simple and clean (★10.4k, TypeScript, vibe 67/100) · details: https://ideas.asveas.com/r/lucia-auth/lucia

---
Source: https://ideas.asveas.com/r/logto-io/logto · Catalog: https://ideas.asveas.com/llms.txt
