.net Web Api 2 Owin authentication token expires suddenly and often on IIS 8.5

681 views Asked by At

I used this tutorial http://bitoftech.net/2014/06/01/token-based-authentication-asp-net-web-api-2-owin-asp-net-identity/ as a base to do a project for REST api on ASP.NET.

The token authentication works great on my development machine. but when I tryed uploading it on a IIS 8.5 production server, I get 401s constantly no matter what I set on the AccessTokenExpireTimeSpan .

I think it has something to do with how the token is generated and the local machine key.

Is there any workaround this issue?

Note: I do not have any control on the IIS server.

0

There are 0 answers