You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reporting a bug, please provide the following details:
swagger-ui version
latest master branch
a swagger file reproducing the issue
client auth issue, see attached screenshot
All I did was follow the README.md and added these 2 lines in dist/index.html
window.swaggerUi.api.clientAuthorizations.add("key", new SwaggerClient.ApiKeyAuthorization("test", "XXXX", "header"));
window.swaggerUi.api.clientAuthorizations.add("key2", new SwaggerClient.ApiKeyAuthorization("test2", "XXXX2", "header"));
However when the request is sent, I got something does not make any sense.
The header names are added to Access-Control-Request-Headers
The text was updated successfully, but these errors were encountered:
sunshineo
changed the title
Why are all header names put onto Access-Control-Request-Headers and values discarded?
All header names put onto Access-Control-Request-Headers and values discarded
Sep 8, 2016
When reporting a bug, please provide the following details:
latest master branch
client auth issue, see attached screenshot
All I did was follow the README.md and added these 2 lines in dist/index.html
However when the request is sent, I got something does not make any sense.
The header names are added to Access-Control-Request-Headers
The text was updated successfully, but these errors were encountered: