Skip to content

Release v2.61.0

Choose a tag to compare

@github-actions github-actions released this 12 Nov 01:56
b4d1627

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:resource claim 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. LocalDevelopment and loopback requests are exempt. Deployments that terminate TLS in front of AuthProxy must trust that proxy (#323).
  • Bearer routes forward X-Forwarded-Proto with the effective scheme, replacing any client-supplied value (#324).