Repository navigation
Highlights
Security fix for the OAuth endpoints. /oauth/token, /oauth/revoke and /oauth/introspect now cap form bodies at 64 KiB (they previously read up to 10 MiB). They also refuse client_assertion and client_assertion_type with invalid_client before the OAuth library parses them, because Pad does not support JWT client authentication. On earlier versions, a crafted client assertion sent to the token endpoint, which needs no login, could stop the server process. Upgrade from 0.20.x or 0.21.0 is recommended for every instance reachable over the network. No configuration change and no migrations. See docs/api.md for the refusal shapes.