Repository navigation
Release v2.61.0
Summary
Bearer routes now require HTTPS and tell the backend which resource a token was validated for and over which scheme the request arrived.
Added
- A signed
urn:cratis:bearer:resourceclaim on the forwarded bearer principal, set to the configured audience the token was validated against, so a backend can confirm the token was issued for the resource it serves (#324). - A startup warning when a bearer route is configured but no ingress proxy is trusted, so every request would be refused (#323).
Changed
- Requests to a bearer route over plain HTTP are refused before any credential is read and are never forwarded.
LocalDevelopmentand loopback requests are exempt. Deployments that terminate TLS in front of AuthProxy must trust that proxy (#323). - Bearer routes forward
X-Forwarded-Protowith the effective scheme, replacing any client-supplied value (#324).