Nov 11, 2016 at 9:44 AM
Edited Nov 11, 2016 at 9:44 AM
I have a problem mit OWIN and OAuth described
I have create a OAuth Authentication using the guide from
. I have created an endpoint /token to make the authentication. It works and I revice a bearer token. But if I use the access token in my header of the next call of a enpoint that has the AuthorizeAttribute I alwayse recive a Unauthorized
error. Also if I take a look in what is in the CurrentPrincipal of the current Thread it's always a GenericPrincipal.
Has anyone a idea what can be the problem?