Skip to content

DSP requests should send Bearer token depending on what EDC version they communicate with #66

@simonlet

Description

@simonlet

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions