Skip to content

Pass options to initOAuth #109

@sir4ur0n

Description

@sir4ur0n

According to https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/ it's possible to pass some default values to initOAuth, e.g. clientId, so that users do not have to type it every time they log in.

Is this possible with any of the Swagger UIs provided by this package?

  • servant-swagger-ui: I don't find any occurrence of clientId, client_id or initOAuth
  • servant-swagger-ui-jensoleg: I do find a call to initOAuth, however the values seem hardcoded? Including the clientId: "ffe7748a-3a3f-4860-a02a-42ab08e4fde2" 🤔
  • ``servant-swagger-ui-redoc: I don't find any occurrence of clientId`, `client_id` or `initOAuth`

If not currently possible: what do you think about adding support for that?

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