Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Owin token

$
0
0

I have my website enabled with owin and identity authentication. I can authenticate to my website based on a bearer token and on an applicationcookie. Everything works fine on my own server. Now I have deployed my website to a provider, the authentication of the bearer token fails after about 10 mins.

The website has a certificate and I use https.

I do the next steps from an Android app with HttpsUrlconnection.

  1. I first get a bearer token based on username and password credentials with a 14 days validation. This works fine.
  2. Then I can do webapi calls, which need to be authorized with this token and that works fine as well.
  3. But when I  do nothing for a while (about 10 - 15 mins) and then try to do another webapi call with the same token in the header, I get an access denied response.

Since everything is running at my provider I can not debug and besides that I would not know where to debug for seeing the bearer token evaluation.

Can anyone tell me where I need to look for this problem?

Is it possible that some IIS setting overrules something or so?

Thanx


Viewing all articles
Browse latest Browse all 4737

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>