Describe the bug
in the swagger ui, when opening the authorize section and add an apiKey or a bearer token it doesnt work, i have a working api (auth with sanctum) with laravel, tested with http clients (curl, postman, httpie) and everything works fine, when using the authorize feature of swagger it doesnt add the token to the req
by default the config has two authorization strategies, which are
"bearer" => [
"type" => "http",
"scheme" => "bearer",
"bearerFormat" => "JWT",
"securityScheme" => "bearerAuth",
"description" => "Enter the token with the Bearer prefix, e.g. `Bearer abcde12345`"
]
but when trying to make a request after adding a key (both default strategies or my custom one), the backend responds with 'Unauthorized', when looking at the curl request, it seems like the swagger is not even adding the headers to the request
Describe the bug in the swagger ui, when opening the authorize section and add an apiKey or a bearer token it doesnt work, i have a working api (auth with sanctum) with laravel, tested with http clients (curl, postman, httpie) and everything works fine, when using the authorize feature of swagger it doesnt add the token to the req
by default the config has two authorization strategies, which are
i added this one
but when trying to make a request after adding a key (both default strategies or my custom one), the backend responds with 'Unauthorized', when looking at the curl request, it seems like the swagger is not even adding the headers to the request
To Reproduce Steps to reproduce the behavior:
Expected behavior having the actual token in the request, and having the correct response from the server (authorized)
Screen Shots