Skip to content

How do I use this with OpenID Connect? #9

@gmlewis

Description

@gmlewis

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions