Skip to content

Add RequestId headers to http responses and logs #2014

Description

@baszoetekouw

For each HTTP request that is handled:

  • generate a unique random id
  • add this request ID to all log lines that are triggered during handling of this request
  • add this request ID to as a X-OpenConext-Request-Id (TODO: Check what format Stepup uses, discuss what makes sense) header in the http response header.

This (together the the correlation id and session id) will allow us to trace authentication requests throughout the application flow.

The OpenConext is there to prevent name clash with other apps that might set a "Request-Id"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions