/logto-logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.

Primary LanguageTypeScriptMozilla Public License 2.0MPL-2.0

discord checks release core coverage cloud gitpod render

Logto1 is an Auth0 alternative designed for modern apps and SaaS products. It offers a seamless developer experience and is well-suited for individuals and growing companies.

🧑‍💻 Comprehensive frontend-to-backend identity solution

  • Enables OIDC-based authentication with Logto SDKs.
  • Supports passwordless sign-in, along with various options like email, phone number, username, Google, Facebook, and other social sign-in methods.
  • Offers beautiful UI components with customizable CSS to suit your business needs.

📦 Out-of-the-box infrastructure

  • Includes a ready-to-use Management API, serving as your authentication provider, thus eliminating the need for extra implementation.
  • Provides SDKs that seamlessly integrate your apps with Logto across multiple platforms and languages, tailored to your development environment.
  • Offers flexible connectors that can be scaled with community contributions and customized with SAML, OAuth, and OIDC protocols.

💻 Enterprise-ready solutions

  • Implements role-based access control (RBAC) for scalable role authorization, catering to a wide range of use cases.
  • Facilitates user management and provides audit logs for understanding identity-related user information and maintaining security.
  • Enables single sign-on (SSO) and multi-factor authentication (MFA) without extra coding.
  • Leverages Logto Organizations to build multi-tenancy apps with ease.

In a more approachable way, we refer to this solution as "Customer Identity Access Management (CIAM)" or simply, the "Customer Identity Solution."

Subscribe to us now to stay updated with the latest information about the Logto Cloud (SaaS) and receive feature updates in real-time.

Get started

  • Visit our 🎨 website for a brief introduction if you are new to Logto.
  • A step-by-step guide is available on 📖 docs.logto.io.

Interactive demo

  • Try Logto Cloud to have the same dev experience and zero deployment overhead.

  • If you launch Logto via GitPod, please wait until you see the message like App is running at https://3002-...gitpod.io in the terminal, press Cmd (or Ctrl on Windows) and click the URL starts with https://3002- to continue your Logto journey.

Launch Logto

Docker Compose

Docker Compose CLI usually comes with Docker Desktop.

curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | \
docker compose -p logto -f - up

npm-init

Requires Node.js ^18.12.0 + PostgreSQL ^14.0.

npm init @logto

Language support

const languages = ['Deutsch', 'English', 'Español', 'Français', 'Italiano', '日本語', '한국어', 'Polski', 'Português', 'Русский', 'Türkçe', '简体中文', '繁體中文'];

Web compatibility

Logto uses the default browserslist config to compile frontend projects, which is:

> 0.5%, last 2 versions, Firefox ESR, not dead

Bug report, feature request, feedback

  • Our team takes security seriously, especially when it relates to identity. If you find any existing or potential security issues, please do not hesitate to email 🔒 security@logto.io.
  • About other bug reports, feature requests, and feedback, you can:

Licensing

See the LICENSE file for licensing information as it pertains to files in this repository.

Contributing

We have a contributing guideline available. Feel free to contact us before coding.

Resources


Footnotes

  1. Designed by Silverhand Inc.