title: Workaround for implementing OpenID Connect in Swagger UI/ Swashbuckle
body: <p>I have two different projects:</p>
  <ol>
  <li>Auth project: which implements IdentityServer4 to provide authentication as a service</li>
  <li>API project: which implements Swashbuckle.AspNetCore 5.5 to generate the Swagger UI</li>
  </ol>
  <p>I’m using the <code>SecuritySchemeType.OpenIdConnect</code> as a security scheme in the API project and whenever I click on the <strong>Authorize</strong> button I get an empty authorization modal. I believe the problem is because of the OpenIDConnect Discovery is not supported in the Swagger UI. So, I’m just wondering if anyone found a workaround for this issue.</p>
  <p>Here is an open issue explain my problem exactly:
  <a href="https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1241" rel="nofollow noreferrer">https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/1241</a></p>