I have endpoints that are authorized by a Keycloak server that uses OpenID Connect, similar to this example:
swagger-api/swagger-ui#7963
In other words, I would like to configure the underlying Swagger UI with this configuration:
"securitySchemes": {
"OpenIdConnect": {
"type": "openIdConnect",
"openIdConnectUrl": "https://my.url.com/auth/realms/myrealm/.well-known/openid-configuration"
}
}
How would I configure swag so that it will Authorize correctly with Keycloak?
Thank you!