Skip to main content

Auth

Authentication and authorization in backend Rust services.

JWTStructure, signing algorithms, validation, expiry, rotation
PASETOPlatform-agnostic tokens — why PASETO over JWT
SessionsServer-side session storage, Redis-backed sessions
OAuth2Authorization code flow, PKCE, token refresh
MiddlewareAxum auth extractors, tower auth middleware