LogtoLogto

A cost-effective open-source alternative to Auth0.

Development

Logto Self Host Guide

What is Logto

Logto 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.

Features of Logto

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.

How to Self Host Logto

There are several ways to self host Logto, including using Docker, Zeabur, Railway or other platforms. This guide will walk you through the process of self-hosting Logto using Zeabur, which is a one-click deployment platform for Logto.

Step 1

Before you start, you've to make sure you have an account on Zeabur. If you don't have an account, you can create one here.

Step 2

After you've successfully created an account, you can follow the steps below to deploy Logto on Zeabur:

  • Press on the deploy button below to deploy Logto on Zeabur.

Deploy

  • You will be redirected to the Zeabur dashboard, where you can see the Logto deployment.

  • Bind a domain to your Logto service after the deployment is done.

Step 3

Using the domain you've bound to your Logto service, you can now access the Logto dashboard and start using it.

Here is a more detailed guide for deploying Logto on Zeabur.

Frequently Asked Questions

What is the difference between Logto and Auth0?

Compared to Auth0, Logto is a more modern and developer-friendly alternative that offers a seamless developer experience. Logto is well-suited for individuals and growing companies, providing a comprehensive frontend-to-backend identity solution, out-of-the-box infrastructure, and enterprise-ready solutions.

Why Self Host Logto?

Self-hosting Logto gives you more control over your data and infrastructure, allowing you to customize and scale your authentication and identity management solutions according to your needs.

How much does it cost to self host Logto?

For Zeabur, you just need a $5/month subscription to deploy Logto. The cost may vary depending on the platform you choose to self-host Logto.

Explore More