OpenIDC / mod_auth_openidc

OpenID Certified™ OpenID Connect Relying Party implementation for Apache HTTP Server 2.x
Apache License 2.0
990 stars 327 forks source link

Custom User-Agent header and/or other headers for back-channel request #1152

Closed zandbelt closed 11 months ago

zandbelt commented 11 months ago

Discussed in https://github.com/OpenIDC/mod_auth_openidc/discussions/1151

Originally posted by **studersi** December 19, 2023 When debugging issues with mod_auth_openidc and mod_oauth2, we sometimes struggle with request correlation. It would be helpful to set custom user-agent string for back-channel request to associate them with a particular Apache instance. Further, it could be helpful to add custom tracing headers like the traceparent header ([Trace Context - Traceparent Header](https://www.w3.org/TR/trace-context/#traceparent-header) to back-channel request for tracing the access across all services that are involved in processing a request.