authentication is a Rust workspace that provides:
auth_server: a multi-realm authentication server supporting username/password, JWT/OIDC, mTLS, and TOTPauth_client: a client library and shared types used to integrate with the server
Project documentation is in server/documentation:
- Index
- Getting Started
- API Reference
- Authentication Flows
- Session Management
- Authorization and Administration
- Two-Factor Authentication
- Server Configuration
- Client Library
From the workspace root:
# Build all workspace members
cargo build --workspace
# Build one crate
cargo build -p auth_server
cargo build -p auth_clientFrom the workspace root:
# Run all tests in the workspace
cargo test --workspace
# Run tests for a single crate
cargo test -p auth_server
cargo test -p auth_client