Closed skion closed 1 year ago
I have the same problem. @skion , did you solve it ?
Nope, not yet...
@MaxDXDX Actually it does work correctly now with the latest version for me, which appears to be swagger-ui-dist@4.15.5
... I'm closing this issue.
Q&A
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-UI configuration options:
Describe the bug you're encountering
The UI seems to omit passing the authorization code into the token endpoint call, causing the UI to show:
To reproduce...
client_id
andclient_secret
openid
in theauthorization_code
flowExpected behavior
I would expect the authorization code flow to successfully exchange the
code
for anaccess_token
andid_token
.Screenshots
Request body to Google's token endpoint is like this:
which responds with