2022-05-11 02:19:36 -05:00
< p align = "center" >
2022-07-05 04:59:56 -05:00
< a href = "https://logto.io" target = "_blank" align = "center" alt = "Logto Logo" >
2023-02-24 08:51:20 -05:00
< img src = "./logo.png" height = "120" >
2022-07-05 04:59:56 -05:00
< / a >
2022-05-11 02:19:36 -05:00
< / p >
2022-08-15 01:14:04 -05:00
[![discord ](https://img.shields.io/discord/965845662535147551?color=5865f2&label=discord )](https://discord.gg/vRvwuwgpVX)
[![checks ](https://img.shields.io/github/checks-status/logto-io/logto/master )](https://github.com/logto-io/logto/actions?query=branch%3Amaster)
2023-04-02 21:59:23 -05:00
[![release ](https://img.shields.io/github/v/release/logto-io/logto?color=3a3c3f )](https://github.com/logto-io/logto/releases)
2022-07-19 09:19:21 -05:00
[![core coverage ](https://img.shields.io/codecov/c/github/logto-io/logto?label=core%20coverage )](https://app.codecov.io/gh/logto-io/logto)
2023-05-14 00:38:14 -05:00
[![cloud ](https://img.shields.io/badge/cloud-available-7958ff )](https://cloud.logto.io/?sign_up=true& utm_source=github& utm_medium=repo_logto)
2022-10-10 21:04:32 -05:00
[![gitpod ](https://img.shields.io/badge/gitpod-available-f09439 )](https://gitpod.io/#https://github.com/logto-io/demo)
2022-07-19 09:19:21 -05:00
[![render ](https://img.shields.io/badge/render-deploy-5364e9 )](https://render.com/deploy?repo=https://github.com/logto-io/logto)
2021-07-25 09:44:07 -05:00
2023-12-22 02:16:59 -05:00
Logto[^info] 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.
2022-05-11 02:19:36 -05:00
2023-10-17 00:57:51 -05:00
🧑💻 **Comprehensive frontend-to-backend identity solution**
2022-08-15 21:37:20 -05:00
2023-12-22 02:16:59 -05:00
- 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.
2023-10-17 00:57:51 -05:00
- Offers beautiful UI components with customizable CSS to suit your business needs.
2022-08-15 21:37:20 -05:00
2023-05-17 02:18:39 -05:00
📦 **Out-of-the-box infrastructure**
2022-08-15 21:37:20 -05:00
2023-12-22 02:16:59 -05:00
- Includes a ready-to-use Management API, serving as your authentication provider, thus eliminating the need for extra implementation.
2023-10-17 00:57:51 -05:00
- 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.
2022-08-15 21:37:20 -05:00
2023-03-01 01:51:04 -05:00
💻 **Enterprise-ready solutions**
2022-08-15 21:37:20 -05:00
2023-12-22 02:16:59 -05:00
- Implements role-based access control (RBAC) for scalable role authorization, catering to a wide range of use cases.
2023-10-17 00:57:51 -05:00
- Facilitates user management and provides audit logs for understanding identity-related user information and maintaining security.
2023-12-22 02:16:59 -05:00
- Enables single sign-on (SSO) and multi-factor authentication (MFA) without extra coding.
- Leverages Logto Organizations to build multi-tenancy apps with ease.
2022-05-11 02:19:36 -05:00
2023-10-17 00:57:51 -05:00
In a more approachable way, we refer to this solution as "[Customer Identity Access Management (CIAM)](https://en.wikipedia.org/wiki/Customer_identity_access_management)" or simply, the "Customer Identity Solution."
[Subscribe to us ](https://logto.io/subscribe/?utm_source=github&utm_medium=repo_logto ) now to stay updated with the latest information about the Logto Cloud (SaaS) and receive feature updates in real-time.
2022-05-11 02:19:36 -05:00
2022-11-14 04:02:00 -05:00
2022-07-17 09:06:21 -05:00
## Get started
2022-05-11 07:45:14 -05:00
2023-05-14 00:38:14 -05:00
- Visit our 🎨 [website ](https://logto.io/?utm_source=github&utm_medium=repo_logto ) for a brief introduction if you are new to Logto.
- A step-by-step guide is available on 📖 [docs.logto.io ](https://docs.logto.io/?utm_source=github&utm_medium=repo_logto ).
2021-07-25 09:44:07 -05:00
2023-02-10 03:03:53 -05:00
### Interactive demo
2023-05-14 00:38:14 -05:00
- Try [Logto Cloud ](https://cloud.logto.io/?sign_up=true&utm_source=github&utm_medium=repo_logto ) to have the same dev experience and zero deployment overhead.
2022-07-06 01:00:12 -05:00
2023-04-02 21:59:23 -05:00
- If you launch Logto [via GitPod ](https://gitpod.io/#https://github.com/logto-io/demo ), 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.
2023-02-10 03:03:53 -05:00
### Launch Logto
2022-07-17 09:06:21 -05:00
#### Docker Compose
2022-07-16 08:47:58 -05:00
Docker Compose CLI usually comes with [Docker Desktop ](https://www.docker.com/products/docker-desktop ).
```bash
curl -fsSL https://raw.githubusercontent.com/logto-io/logto/HEAD/docker-compose.yml | \
2023-03-20 12:29:17 -05:00
docker compose -p logto -f - up
2022-07-16 08:47:58 -05:00
```
2022-10-19 05:48:38 -05:00
#### npm-init
2022-07-16 08:47:58 -05:00
2024-05-17 00:57:30 -05:00
Requires [Node.js ](https://nodejs.org/ ) `^20.9.0` + [PostgreSQL ](https://postgresql.org/ ) `^14.0` .
2022-07-16 08:47:58 -05:00
```bash
2022-10-19 05:48:38 -05:00
npm init @logto
2022-07-16 08:47:58 -05:00
```
2022-07-30 19:07:46 -05:00
## Language support
```ts
2023-04-18 21:59:10 -05:00
const languages = ['Deutsch', 'English', 'Español', 'Français', 'Italiano', '日本語', '한국어', 'Polski', 'Português', 'Русский', 'Türkçe', '简体中文', '繁體中文'];
2022-07-30 19:07:46 -05:00
```
2023-02-09 23:56:05 -05:00
## Web compatibility
2023-08-09 03:08:45 -05:00
Logto uses the [default browserslist config ](https://github.com/browserslist/browserslist#full-list ) to compile frontend projects, which is:
2023-02-09 23:56:05 -05:00
```
> 0.5%, last 2 versions, Firefox ESR, not dead
```
2022-07-17 09:06:21 -05:00
## Bug report, feature request, feedback
2022-05-11 02:19:36 -05:00
2022-07-09 08:41:14 -05:00
- 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 ](mailto:security@logto.io ).
2022-08-22 03:14:03 -05:00
- About other bug reports, feature requests, and feedback, you can:
- Directly 🙋 [open an issue ](https://github.com/logto-io/logto/issues/new ) on GitHub;
2024-05-17 00:57:30 -05:00
- 💬 [Join our Discord server ](https://discord.gg/vRvwuwgpVX ) to have a live chat.
2022-05-11 02:19:36 -05:00
2023-02-28 01:36:12 -05:00
## Licensing
2024-05-17 00:57:30 -05:00
[MPL-2.0 ](LICENSE ).
2023-02-28 01:36:12 -05:00
2022-07-26 02:25:35 -05:00
## Contributing
We have a [contributing guideline ](https://github.com/logto-io/logto/blob/master/.github/CONTRIBUTING.md ) available. Feel free to contact us before coding.
2022-08-22 03:14:03 -05:00
## Resources
2023-05-14 00:38:14 -05:00
- [📖 Logto docs ](https://docs.logto.io/?utm_source=github&utm_medium=repo_logto )
- [✍️ Blog ](https://blog.logto.io/?utm_source=github&utm_medium=repo_logto )
2022-08-22 03:14:03 -05:00
2022-05-11 02:19:36 -05:00
< br / >
2023-02-28 01:36:12 -05:00
[^info]: Designed by Silverhand Inc.