Overview of JWT Verification in Contour
Contour uses Envoy's jwt_authn HTTP filter to verify JSON Web Tokens on incoming requests. It can validate the issuer, audiences, signature (via JWKS), and time restrictions (expiration, not before).
Key Constraints:
- Only supported on TLS-terminating virtual hosts.
- Incompatible with the fallback certificate feature.
- Successful verification proxies the request to the upstream; failure returns an HTTP 401 (Unauthorized).