Native support for OAuth 2.0 Demonstrating Proof-of-Possession (DPoP) - RFC 9449
Support for OAuth 2.0 Demonstrating Proof-of-Possession (DPoP) - RFC 9449 in Istio's security stack. Currently, Istio's RequestAuthentication natively supports standard Bearer Tokens (JWT). However, Bearer tokens are "tokens to bearer," meaning anyone who possesses the token can use it. The industry is shifting towards sender-constrained tokens to prevent token theft and replay attacks. DPoP binds an access token to a specific client’s private key. For Istio to support DPoP, the sidecar (Envoy) needs to: Validate the DPoP HTTP header: A short-lived JWT signed by the client. Ensure Token Binding: Match the jkt (JWK Thumbprint) claim in the Access Token with the public key used to sign the DPoP proof. Verify Request Integrity: Confirm that htu (HTTP URI) and htm (HTTP Method) claims in the DPoP header match the actual incoming request. Replay Protection: Check the jti claim to ensure the proof hasn't been reused. This feature would allow Istio to enforce higher security standards (like FAPI 2.0) without requiring custom logic in every microservice. Describe alternatives you've considered Custom WasmPlugins or Lua EnvoyFilters: These are difficult to maintain, audit, and distribute across a large mesh. They also introduce performance overhead when parsing JWTs manually. External Authorization (ext_authz): Adds latency by requiring an extra network hop to an external service (like OPA) for a check that could be done efficiently at the proxy level. Application-level validation: Forces developers to implement DPoP logic in every service, which goes against the "security offloading" value proposition of a Service Mesh. Affected product area (please put an X in all that apply) [ ] Ambient [ ] Docs [ ] Dual Stack [ ] Installation [ ] Networking [ ] Performance and Scalability [X] Extensions and Telemetry [X] Security [ ] Test and Release [X] User Experience [ ] Developer Infrastructure Affected features (please put an X in all that apply) [ ] Multi Cluster [ ] Virtual Machine [ ] Multi Control Plane Additional context RFC 9449: https://datatracker.ietf.org/doc/html/rfc9449 DPoP is now a stable standard and is increasingly used in modern Identity Providers like Keycloak, Auth0, and Okta to mitigate the risks of XSS-based token theft in SPAs and mobile apps.
Source: istio/istio