Haufe-Lexware / wicked.haufe.io

An API Management system based on Mashape Kong
http://wicked.haufe.io
Other
123 stars 37 forks source link

Authorization Server responses in Swagger UI difficult to understand #115

Closed DonMartin76 closed 6 years ago

DonMartin76 commented 6 years ago

For certain types of errors when authorizing from Swagger UI, it is difficult to see why the request fails, see for example this:

image

Inspecting the request which was issued, it's clear that the Authorization Server actually responds with a leading error message, e.g. that the application is not declared as confidential, or similar.

This is related to swagger-api/swagger-ui#4048; I have filed a PR on that repository to get more information back in case of failures when talking to the /token end point.

DonMartin76 commented 6 years ago

PR was merged, waiting for a new release of swagger-ui.

DonMartin76 commented 6 years ago

Fixed in 1.0.0.beta3.