2022-05-11 15:19:36 +08:00
< p align = "center" >
2022-07-05 17:59:56 +08:00
< a href = "https://logto.io" target = "_blank" align = "center" alt = "Logto Logo" >
2023-02-24 21:51:20 +08:00
< img src = "./logo.png" height = "120" >
2022-07-05 17:59:56 +08:00
< / a >
2022-05-11 15:19:36 +08:00
< / p >
2022-08-15 14:14:04 +08:00
[](https://discord.gg/vRvwuwgpVX)
[](https://github.com/logto-io/logto/actions?query=branch%3Amaster)
2023-04-03 10:59:23 +08:00
[](https://github.com/logto-io/logto/releases)
2022-07-19 22:19:21 +08:00
[](https://app.codecov.io/gh/logto-io/logto)
2023-05-14 13:38:14 +08:00
[](https://cloud.logto.io/?sign_up=true& utm_source=github& utm_medium=repo_logto)
2022-10-11 10:04:32 +08:00
[](https://gitpod.io/#https://github .com/logto-io/demo)
2022-07-19 22:19:21 +08:00
[](https://render.com/deploy?repo=https://github.com/logto-io/logto)
2021-07-25 22:44:07 +08:00
2023-03-01 14:51:04 +08:00
Logto[^info] is a cost-effective open-source alternative to Auth0. It offers a seamless developer experience and is well-suited for individuals and growing companies.
2022-05-11 15:19:36 +08:00
2022-08-16 10:37:20 +08:00
🧑💻 **A frontend-to-backend identity solution**
2023-03-01 14:51:04 +08:00
- OIDC-based authentication and RBAC authorization.
- Passwordless sign in and much more diverse options, including Email, Phone number, Username, Google, Facebook and other social sign in methods.
- Beautiful UI components with customizable CSS to fit your business needs.
2022-08-16 10:37:20 +08:00
2023-05-17 15:18:39 +08:00
📦 **Out-of-the-box infrastructure**
2022-08-16 10:37:20 +08:00
2023-03-01 14:51:04 +08:00
- A ready-to-use management API can serve as your authentication provider, eliminating the need for extra implementation.
- SDKs that can integrate your apps with Logto quickly, multi-platform and language compatible, tailored to your development environment.
2023-05-12 18:26:59 +02:00
- Flexible connectors, scalable with community contributions, customizable with SAML, OAuth, and OIDC protocols.
2022-08-16 10:37:20 +08:00
2023-03-01 14:51:04 +08:00
💻 **Enterprise-ready solutions**
2022-08-16 10:37:20 +08:00
2023-03-01 14:51:04 +08:00
- RBAC to control your resource through scalable role authorization for diverse use cases.
- User management and audit Logs to understand identity related user info and keep your security on track.
2023-05-17 15:18:39 +08:00
- We are currently working on SSO, Organizations and MFA. Stay tuned.
2022-05-11 15:19:36 +08:00
Boringly, we call it "[customer identity access management ](https://en.wikipedia.org/wiki/Customer_identity_access_management )" (CIAM) or "customer identity solution."
2023-05-14 13:38:14 +08:00
[Subscribe to us ](https://logto.io/subscribe/?utm_source=github&utm_medium=repo_logto ) right away to receive up-to-date information about the Logto Cloud (SaaS) as well as in-time feature updates.
2022-11-14 17:02:00 +08:00
2022-07-17 22:06:21 +08:00
## Get started
2022-05-11 20:45:14 +08:00
2023-05-14 13:38:14 +08: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 22:44:07 +08:00
2023-02-10 02:03:53 -06:00
### Interactive demo
2023-05-14 13:38:14 +08: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 14:00:12 +08:00
2023-04-03 10:59:23 +08: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 02:03:53 -06:00
### Launch Logto
2022-07-17 22:06:21 +08:00
#### Docker Compose
2022-07-16 21:47:58 +08: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-21 01:29:17 +08:00
docker compose -p logto -f - up
2022-07-16 21:47:58 +08:00
```
2022-10-19 18:48:38 +08:00
#### npm-init
2022-07-16 21:47:58 +08:00
2023-02-02 10:27:23 +08:00
Requires [Node.js ](https://nodejs.org/ ) `^18.12.0` + [PostgreSQL ](https://postgresql.org/ ) `^14.0` .
2022-07-16 21:47:58 +08:00
```bash
2022-10-19 18:48:38 +08:00
npm init @logto
2022-07-16 21:47:58 +08:00
```
2022-07-31 08:07:46 +08:00
## Language support
```ts
2023-04-19 10:59:10 +08:00
const languages = ['Deutsch', 'English', 'Español', 'Français', 'Italiano', '日本語', '한국어', 'Polski', 'Português', 'Русский', 'Türkçe', '简体中文', '繁體中文'];
2022-07-31 08:07:46 +08:00
```
2023-02-10 12:56:05 +08:00
## Web compatibility
2023-08-09 16:08:45 +08:00
Logto uses the [default browserslist config ](https://github.com/browserslist/browserslist#full-list ) to compile frontend projects, which is:
2023-02-10 12:56:05 +08:00
```
> 0.5%, last 2 versions, Firefox ESR, not dead
```
2022-07-17 22:06:21 +08:00
## Bug report, feature request, feedback
2022-05-11 15:19:36 +08:00
2022-07-09 21:41:14 +08: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 16:14:03 +08: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;
- 💬 [join our Discord server ](https://discord.gg/vRvwuwgpVX ) to have a live chat;
2023-04-24 20:57:58 +08:00
- Engage in our 📍 [public roadmap ](https://github.com/logto-io/logto/issues/1937 ).
2022-05-11 15:19:36 +08:00
2023-02-28 14:36:12 +08:00
## Licensing
See the [LICENSE ](LICENSE ) file for licensing information as it pertains to files in this repository.
2022-07-26 15:25:35 +08: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 16:14:03 +08:00
## Resources
2023-05-14 13:38:14 +08: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 16:14:03 +08:00
2022-05-11 15:19:36 +08:00
< br / >
2023-02-28 14:36:12 +08:00
[^info]: Designed by Silverhand Inc.