I am trying to setup swagger using Swashbuckle
for my Web API project. I am using builtin
authentication (Asp.net Identity) and builtin
default API path /Token
for granting access token.
I've also managed to add this custom path to swagger spec. Is there a way to tell Swagger to use bearer token obtained from /Token
to make authorized API calls to protected API areas?
I've tried enabling OAuth2 in SwaggerConfig
with implicit and password options for flow parameter but to no avail.