Open alhoo opened 2 years ago
Ok after studying this a bit, I think the issue is that swagger is showing openid authentication methods that are not supported. Google supports the following grant types:
"grant_types_supported": [
"authorization_code",
"refresh_token",
"urn:ietf:params:oauth:grant-type:device_code",
"urn:ietf:params:oauth:grant-type:jwt-bearer"
]
And we only support the first one. Also using the jwt-bearer requires setting nonce.
https://developers.google.com/identity/protocols/oauth2/openid-connect
Maybe swagger should show that some authorization methods are not available, are disabled or need more configuring?
Q&A (please complete the following information)
Content & configuration
The openId Connect dows not work with openapi3 and swagger.
Example Swagger/OpenAPI definition:
Describe the bug you're encountering
When I click authorize and select the last option in the authorization options, I get an error.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
Minimal openapi3 config with openid connect authentication should allow login.
Additional context or thoughts
Is there a way to set the response_type some how? Maybe this is only a documentation issue.