walt-id / waltid-identity

All-in-one open-source identity and wallet toolkit.
Apache License 2.0
121 stars 46 forks source link

Internal parsing error exposed to the user at the `/openid4vc/jwt/issue` endpoint #375

Closed alegomes closed 1 month ago

alegomes commented 6 months ago

If the user provides an unexpected body format when calling <issuer>/openid4vc/jwt/issue the response message is an internal not handled ktor exception that doesn't make sense from the user perspective and that he didn't even need to know about.

{"exception":"true","status":"Internal Server Error","code":"500","message":"Failed to convert request body to class id.walt.issuer.IssuanceRequest"}
github-actions[bot] commented 4 months ago

This issue has been marked as stale.

github-actions[bot] commented 1 month ago

This issue has been marked as stale.