2

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.

Sampada
  • 2,931
  • 7
  • 27
  • 39
c04x
  • 31
  • 4
  • Possible duplicate of [SwashBuckle/Swagger - OAuth Resource Owner Password Flow](http://stackoverflow.com/questions/34929280/swashbuckle-swagger-oauth-resource-owner-password-flow) – Ivan Aug 01 '16 at 08:36

0 Answers0