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
Right now it seems that swagger-blocks only supports security definitions for the OpenAPI ApiKeyAuth and OAuth2 authentication. A very common type of authentication is BearerAuth (a bearer token in an Authorization header).
Can someone please add support for bearer authentication? A security definition might look something like this:
security_definition :bearer do
key :type, :http
key :name, :bearer
key :in, :header
end
If I try doing this right now I get a modal dialog in Swagger UI when I click on the Authorize button that says:
Available Authorizations
Unknown security definition type http
Again, this would be much appreciated.
The text was updated successfully, but these errors were encountered:
Right now it seems that swagger-blocks only supports security definitions for the OpenAPI ApiKeyAuth and OAuth2 authentication. A very common type of authentication is BearerAuth (a bearer token in an Authorization header).
Can someone please add support for bearer authentication? A security definition might look something like this:
If I try doing this right now I get a modal dialog in Swagger UI when I click on the Authorize button that says:
Available Authorizations
Unknown security definition type http
Again, this would be much appreciated.
The text was updated successfully, but these errors were encountered: