Expand description
Shared OAuth2/OIDC primitives โ crypto, PKCE, scopes, CSRF, social login, OIDC, JWKS validation.
Provides reusable building blocks for OAuth2 authorization code flows, OIDC SSO, and social login (GitHub, Google).
Modulesยง
- crypto
- Cryptographic helpers for OAuth2 tokens and secrets.
- csrf
- CSRF state management with pluggable backends.
- jwt
- Lightweight JWT helpers for HS256 operations.
- oidc
- OIDC discovery, token exchange, and user info.
- oidc_
validator - JWKS-backed OIDC token validation.
- pkce
- RFC 7636 PKCE (Proof Key for Code Exchange) support.
- redirect
- Redirect URI validation for OAuth2.
- scope
- OAuth2 scope parsing and validation.
- social
- Social login providers (GitHub, Google).