Current state
- The Saturn EDC always includes
Bearer in the authorization header for DSP requests
Goal
Depending on what EDC (Jupiter or Saturn) our current Saturn EDC is talking to and depending on the used endpoint, the Authorization header should include Bearer or not:
Saturn -> Saturn
Endpoint /api/v1/dsp/2025-1:
- Auth header should include
Bearer
Endpoint /api/v1/dsp:
- Auth header can include
Bearer or not, works with both
- Here, we also do NOT want to include it
Saturn -> Jupiter
Endpoint /api/v1/dsp:
- Auth header should NOT include
Bearer
Additionally
- We want to remove the check if the
Bearer in the token is present, since it does not matter. We will normalize it and add Bearer anyways
Current state
Bearerin the authorization header for DSP requestsGoal
Depending on what EDC (Jupiter or Saturn) our current Saturn EDC is talking to and depending on the used endpoint, the Authorization header should include
Beareror not:Saturn -> Saturn
Endpoint
/api/v1/dsp/2025-1:BearerEndpoint
/api/v1/dsp:Beareror not, works with bothSaturn -> Jupiter
Endpoint
/api/v1/dsp:BearerAdditionally
Bearerin the token is present, since it does not matter. We will normalize it and addBeareranyways