Warning: This crate is heavily WIP! I'm holding off on doc-comments until I've worked out the module hierarchy and basic API to my satisfaction.
This crate provides a high-level user, authentication and session handling system for Axum, and likely Actix later on. The idea is to use it as a base for something like Next Auth but for Leptos, being easy to set up while heavy on features, with including batteris a higher approach than full customizability.
If you need something truly custom you might want to look at the awesome axum-login or oauth2 crates, but if you just want...
- Users to be able to Log In
- Reset their Passwords with their verified Email
- Link their social accounts
- Manage their multiple Sessions
... Then this might be something for you!
Before you ask: design PRs are most welcome 😅
- Login types
- Username / Password
- Email magic link
- Social logins (OAuth)
- Emails
- Validation
- Password reset
- Oauth
- Easily extendable with custom providers
- Ergonomicly implement user info fetching procedure
- Optional split callback paths
- Batteries included
- Askama based templates provide basic login/signup/account pages
- Growing list of built-in social providers
- Multiple sessions
- Granular feature-controlled templates
- Replacable templates (by typed Fns returning impl IntoResponse)
- Webauthn
- MFA
- Doc-comments
- Tests
- ???
- Publish!