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
I am running DAB in development mode in Azure Redhat Openshift with AzureAD as AuthenticationProvider and "authenticated:*" on all Entities.
When testing the Rest API using Swagger DAB is adding a "Authorization" of type Header parameter on all endpoints.
However, when using the [Try It Out] feature the Authorization parameter is not added to the request header. This seem to be because parameters of name "Authorization" and type Header should be ignored according to the OpenAPI specification. The incorrect behaviour and how to handle it in swagger is documented here:
What happened?
I am running DAB in development mode in Azure Redhat Openshift with AzureAD as AuthenticationProvider and "authenticated:*" on all Entities.
When testing the Rest API using Swagger DAB is adding a "Authorization" of type Header parameter on all endpoints.
However, when using the [Try It Out] feature the Authorization parameter is not added to the request header. This seem to be because parameters of name "Authorization" and type Header should be ignored according to the OpenAPI specification. The incorrect behaviour and how to handle it in swagger is documented here:
swagger-api/swagger-ui#5643 (comment)
Version
1.1.7
What database are you using?
Azure SQL
What hosting model are you using?
Custom Docker host
Which API approach are you accessing DAB through?
REST
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: