eclipse-tractusx / managed-identity-wallet

Apache License 2.0
9 stars 22 forks source link

Refactor body type in token endpoint #286

Closed borisrizov-zf closed 2 months ago

borisrizov-zf commented 5 months ago

Description

The MIW provides a /token endpoint which is meant to operate with the existing iatp flow. The current implementations of the iatp only allow the usage of application/x-www-urlencoded http bodies. The current implementation of the MIW only accepts a json body. This difference should be fixed on the MIW side by either:

  1. Accepting the additional body type and the existing JSON type
  2. -OR- only accepting the new body type

Both solutions are valid, and whichever causes the least amount of refactoring can be chosen.

Acceptance Criteria