Skip to content

When oauth2 settings enabled, reflect in swagger authorizations #1198

@rwaweber

Description

@rwaweber

What is currently missing?

Currently, when running with KARAPACE_SASL_OAUTHBEARER settings enabled, the swagger authorization options only present the HTTPBasic option. I'd like the ability to paste a token into the authorize section from the swagger page as well.

How could this be improved?

When any of the KARAPACE_SASL_OAUTHBEARER options are set, add token authentication as an option in the swagger security options. I'm relatively sure that its a pretty small tweak on the swagger settings.

Is this a feature you would work on yourself?

  • I plan to open a pull request for this feature

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