https://github.com/cmackenzie1/torii-rs
Torii is a powerful authentication framework for Rust applications that gives you complete control over your users' data.
https://github.com/cmackenzie1/torii-rs
authentication oauth2 passkey
Last synced: about 1 month ago
JSON representation
Torii is a powerful authentication framework for Rust applications that gives you complete control over your users' data.
- Host: GitHub
- URL: https://github.com/cmackenzie1/torii-rs
- Owner: cmackenzie1
- License: mit
- Created: 2025-01-28T05:17:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-04-30T16:42:25.000Z (about 2 months ago)
- Last Synced: 2025-04-30T17:46:18.909Z (about 2 months ago)
- Topics: authentication, oauth2, passkey
- Language: Rust
- Homepage: https://torii.rs
- Size: 1.68 MB
- Stars: 392
- Watchers: 2
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome - cmackenzie1/torii-rs - Torii is a powerful authentication framework for Rust applications that gives you complete control over your users' data. (Rust)
README
# Torii
[](https://github.com/cmackenzie1/torii-rs/actions/workflows/ci.yaml)
[](https://codecov.io/gh/cmackenzie1/torii-rs)
[](https://docs.rs/torii/latest/torii/)
[](https://crates.io/crates/torii)> [!WARNING]
> This project is in early development and is not production-ready. The API is subject to change without notice.## Overview
Torii is a powerful authentication framework for Rust applications that gives you complete control over your users' data. Unlike hosted solutions like Auth0, Clerk, or WorkOS that store user information in their cloud, Torii lets you own and manage your authentication stack while providing modern auth features through a flexible plugin system.
With Torii, you get the best of both worlds - powerful authentication capabilities like passwordless login, social OAuth, and passkeys, combined with full data sovereignty and the ability to store user data wherever you choose.
Checkout the example [todos](./examples/todos/README.md) to see Torii in action.
## Features
| Plugin | SQLite | PostgreSQL | MySQL (using [SeaORM](https://github.com/SeaQL/sea-orm)) |
|-------------------------------------------------|--------|------------|----------------------------------------------------------|
| [Password](./torii-auth-password/README.md) | ✅ | ✅ | ✅ |
| [OAuth2/OIDC](./torii-auth-oauth/README.md) | ✅ | ✅ | ✅ |
| [Passkey](./torii-auth-passkey/README.md) | ✅ | ✅ | ✅ |
| [Magic Link](./torii-auth-magic-link/README.md) | ✅ | ✅ | ✅ |✅ = Supported
🚧 = Planned/In Development
❌ = Not Supported## Security
> [!IMPORTANT]
> As this project is in early development, it has not undergone security audits and should not be used in production environments. The maintainers are not responsible for any security issues that may arise from using this software.## Contributing
As this project is in its early stages, we welcome discussions and feedback, but please note that major changes may occur.
## License
This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.