Show HN: Torii – a framework agnostic authentication library for Rust

Show HN: Torii – a framework agnostic authentication library for Rust

Torii

CI
codecov
docs.rs
Crates.io Version

Torii Logo

Warning

This project is in early development and is not production-ready. The API is subject to change without notice.

Overview

Intricate steel lattice structure showcasing modern geometric industrial design.
Photo: Vadim Timayev / Pexels

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.

AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625

Checkout the example todos to see Torii in action.

Features

AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625

Plugin SQLite PostgreSQL MySQL
Password 🚧 #4
OAuth2/OIDC 🚧 #4
Passkey 🚧 #4

✅ = Supported
🚧 = Planned/In Development
❌ = Not Supported

Detailed view of industrial laboratory equipment showcasing modern design and functionality.
Photo: Jo McNamara / Pexels

Security

Important

AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625

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

AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625

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 file for details.

Read More

Join the conversation

Your email address will not be published. Be respectful — keep it constructive.

AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625
AdvertisementDon't Outlive Your Benefits — Long-Term Care insurance with unlimited LTC funds for as long as you live. Call 1-800-317-0625