0

I'm facing an issue with Swashbuckle and oauth2. I follow all the instructions from Github. I Add Security Definitions and Requirements and enable the Oauth2 flow and it seems to work fine, but when i get back from my authentication/authorization provider, the token is available on the redirect url but I can use it on the requests of any of the endpoints available on my Api.(See image below)

I'm using Net.Core 2.0.

Issue Image

ArlanG
  • 888
  • 9
  • 21

1 Answers1

0

This was a tricky one but I found an answer on another post here.

It looks like the token must be added manually in the requests that needs an authorization code, so I made the changes specified on https://stackoverflow.com/a/39759152/536196 and voilá. I add my token manually (not the best option) and it works fine.

ArlanG
  • 888
  • 9
  • 21