swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Example request begins with Unauthorized OPTIONS request

Open etnt opened this issue 5 months ago • 0 comments

Q&A (please complete the following information)

  • OS: macOS
  • Browser: Firefox
  • Version: [e.g. 22]
  • Method of installation: docker container (swaggerapi/swagger-ui:v5.12.0)
  • Swagger-UI version: 5.12.0
  • Swagger/OpenAPI version: Swagger 2.0

Content & configuration

How can we help?

When executing an example from the Swagger-UI, an unauthorized OPTIONS request is sent, which in my case is replied with a '401 Unauthorized'. So my question is if there is a way around this (I can't change my endpoint to allow Unauthorized request)?

Cheers, Toby

etnt avatar Aug 28 '24 07:08 etnt