Skip to content

πŸ§‘β€πŸš€ An identity and access management (IAM) infrastructure with authentication, authorization, MFA, SSO, user management, and multi-tenancy features. Supports OAuth 2.0, OIDC, and SAML. No framework restrictions.

License

Notifications You must be signed in to change notification settings

lightfallphotos/logto

This branch is 1 commit ahead of, 31 commits behind logto-io/logto:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

96b8438 Β· Mar 28, 2025
Mar 21, 2025
Sep 16, 2023
Mar 21, 2025
Jan 30, 2024
Dec 9, 2024
Jul 24, 2024
Apr 24, 2024
Mar 6, 2025
Mar 28, 2025
Mar 11, 2025
Nov 27, 2024
Mar 19, 2024
Jul 22, 2024
Mar 18, 2025
Jul 3, 2023
Mar 7, 2025
Oct 16, 2024
Dec 5, 2024
Dec 29, 2022
Feb 24, 2023
Feb 13, 2025
Mar 13, 2025
Apr 1, 2023
Jul 19, 2022
Oct 24, 2022
Jul 28, 2024
Aug 22, 2024

Repository files navigation

Logto logo

discord checks release core coverage cloud gitpod render

Logto

Logto is the open-source auth alternative to Auth0, Cognito, and Firebase Auth. It offers a complete identity solution with pre-built UI, modern protocols for authentication and authorization (OIDC/OAuth 2.0/SAML), and enterprise-grade security. Perfect for multi-device apps, SaaS products, and API services.

Website | Live demo | Documentation | API | Blog | Auth Wiki | Newsletter

Logto features

Why Logto?

Logto provides frontend-to-backend identity solutions for developers and enterprise with:

  • Logto Console: A web-based interface for configuring and manage resources, offering a quick setup for sign-in experience and easy identity-management.
  • End-user experience: Beautiful, out-of-the-box, complete authentication flows with full customization.
  • Logto APIs: Logto’s backend offers a suit of APIs to facilitate various AuthN and AuthZ functionalities.
  • SDKs: SDKs for 30+ frameworks, Machine-to-machine and CLI tools.
  • Enterprise-grade security: MFA, SSO, RBAC, multi-tenancy isolation, and audit logs.

Key features

Authentication Authorization Identity management
Email/SMS passwordless API protection Identity federation (Omni sign-in for multiple apps)
Social sign-in (OIDC/OAuth 2.0) User role-based access control Multi-tenancy management (Invitation/JIT/Org-level MFA)
Enterprise SSO (SAML/OIDC) M2M role-based access control User management (Profile/Invitation/Migration)
MFA (TOTP/Passkey/Backup) Organization templates User Impersonation
Personal access token JWT / Opaque toke validation Audit Logs
OAuth consent screen Custom token claims Webhooks

UI toolkit: Prebuilt auth flows β€’ Custom UI β€’ Dark mode β€’ i18n β€’ Custom domain

πŸ—ΊοΈ View all featuresβ†’

Get started in 60s

Start building with Logto in minutes:

  • GitPod: Launch Logto on GitPod. Wait for the message App is running at https://3002-...gitpod.io , then click the URL starting with https://3002- to continue.

  • Local development:

    # Using Docker Compose(requires Docker Desktop)
    curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | \
    docker compose -p logto -f - up
    
    # Using Node.js (requires PostgreSQL)
    npm init @logto
  • Logto Cloud: No deployment required! Get started with Logto Cloud.

πŸ“š Full installation guide β†’

Integration ecosystem

Powered by industry-standard protocols (OIDC, OAuth, SAML), Logto empowers secure integration across your services, third-party platforms, and identity providers.

Unlimited application integration:

  • SDKs and guides: Android, Angular, React, Next.js, Flutter, Go, Python, Vue, and 30+ more.
  • Custom integration: Traditional web, SPAs, Native apps, M2M apps, OAuth third-party apps, and SAML apps.

πŸ“š Explore quick starts β†’

Universal identity provider (IdP) connection:

  • Social sign-in: Google, Facebook, Apple, Microsoft, GitHub, Line, and more. Fully customizable via OIDC/OAuth 2.0.
  • Enterprise Single Sign-On: Azure AD, Google Workspace, Okta, and more. Fully customizable via OIDC/SAML.

πŸ“š Explore all connectors β†’

Showcase

Developer-friendly SDKs: Install in minutes with step-by-step guides.

Logto auth SDK showcase

User-friendly auth flows: Sign-up, sign-in, Social sign-in, Google one-tap, SSO, MFA, etc.

Logto sign-in experience showcase

Multi-tenancy architecture: organization RBAC, member invitations, just-in-time provision, etc.

Logto multi-tenancy showcase

Support Logto

If you find Logto helpful, here's how you can support us:

Licensing

MPL-2.0.

⬆️ Back to top

About

πŸ§‘β€πŸš€ An identity and access management (IAM) infrastructure with authentication, authorization, MFA, SSO, user management, and multi-tenancy features. Supports OAuth 2.0, OIDC, and SAML. No framework restrictions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.8%
  • JavaScript 2.9%
  • Vue 1.3%
  • HTML 0.6%
  • SCSS 0.3%
  • Svelte 0.1%