I\'ve followed a tutorial to protect a Web API with OAuth in C#.
I\'m doing some tests and so far I\'ve been able to get the access token successfully from /token
Looks like the version of "System.IdentityModel.Tokens.Jwt" that co-exists with the other Owin assemblies is not proper.
In case you're using "Microsoft.Owin.Security.Jwt" version 2.1.0, you ought to be using the "System.IdentityModel.Tokens.Jwt" assembly of version 3.0.2.
From the package manager console, try:
Update-Package System.IdentityModel.Tokens.Jwt -Version 3.0.2