🚀 Features
Add headers to the JWKS download request (Issue #4651)
The router supports the new authentication.router.jwt.jwks.headers
option for setting static headers on HTTP requests to download a JWKS from an identity provider.
For details, see the JWKS configuration option.
Support loading JWT from other sources (PR #4711)
The router supports the new authentication.router.jwt.sources
option. It enables cookies as an alternative source for tokens and allows multiple alternative sources.
For details, see the sources configuration option.
🐛 Fixes
Attach dd.trace_id
to JSON formatted log messages (PR #4764)
To enable correlation between DataDog tracing and logs, dd.trace_id
must appear as a span attribute on the root of each JSON formatted log message.
Once you configure the dd.trace_id
attribute in router.yaml, it will automatically be extracted from the root span and attached to the logs:
telemetry:
instrumentation:
spans:
mode: spec_compliant
router:
attributes:
dd.trace_id: true
By @BrynCooke in #4764