Skip to content

Available authorizations popup is empty for referenced security scheme #6159

Open
@jakubmalek

Description

@jakubmalek

Q&A (please complete the following information)

  • OS: [Windows [10]
  • Browser: [Chrome, Firefox]
  • Version: [latest]
  • Method of installation: [Docker]
  • Swagger-UI version: [latest]
  • Swagger/OpenAPI version: [OpenAPI 3.0]

Content & configuration

The example can be found at:
https://github.com/jakubmalek/swagger-ui-security-ref-example

Describe the bug you're encountering

  • The "Available authorizations" popup is empty.
  • No errors in the console

To reproduce...

  1. git clone https://github.com/jakubmalek/swagger-ui-security-ref-example.git
  2. docker build -t jakubmalek/swagger-ui-example:latest .
  3. docker run -p 8080:8080 --name swagger-ui-example -d -it jakubmalek/swagger-ui-example:latest
  4. Open http://localhost:8080 in the browser
  5. Click on "Authorize" button

Expected behavior

Authorization popup with form to be shown.

Screenshots

image

image

Additional context or thoughts

When security schema is embedded in the API specification it's working.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions