eu-digital-identity-wallet / eudi-srv-web-verifier-endpoint-23220-4-kt

Web application (Backend Restful service) that acts as a Verifier/RP trusted end-point.
Apache License 2.0
9 stars 11 forks source link

Erroneous response on `direct_post` #98

Closed babisRoutis closed 8 months ago

babisRoutis commented 8 months ago

When handling a direct_post or a direct_post.jwt the endpoint returns one of the following responses:

{ "redirect_uri" : "some uri" }

Depending on whether the verifier-ui initiated a transaction with a redirect_uri or not.

This difference causes problems on the wallet side

We should unify the response to always return a HTTP 200 with a JSON empty in the first case

{  }