#passkeys #torii #ecosystem

torii-auth-passkey

Passkey authentication plugin for the torii authentication ecosystem

3 releases

Uses new Rust 2024

0.2.2 Mar 5, 2025
0.2.1 Feb 27, 2025
0.2.0 Feb 27, 2025

#428 in Authentication

Download history 228/week @ 2025-02-23 191/week @ 2025-03-02 17/week @ 2025-03-09 1/week @ 2025-03-16

232 downloads per month
Used in torii

MIT license

75KB
1.5K SLoC

A passkey authentication plugin for Torii.

This plugin provides passkey (WebAuthn) authentication capabilities to Torii applications. It allows users to register and authenticate using passkeys (biometric authentication, security keys, etc).

Warning

This plugin is meant to be used as part of the Torii authentication framework and should not be instantiated directly. Use Torii's plugin system to add passkey authentication to your application.

Features

  • Passkey registration
  • Passkey authentication
  • Challenge-response based authentication flow

Torii

CI codecov docs.rs Crates.io Version

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 to see Torii in action.

Features

Plugin SQLite PostgreSQL MySQL (using SeaORM)
Password
OAuth2/OIDC
Passkey
Magic Link

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

Dependencies

~14–23MB
~321K SLoC