Peter Miroshnikov
Peter Miroshnikov

Reputation: 17

ADFS RefreshToken (SSOLifetime) Not Working

I have gone Through all documentations available from microsoft and every question here in stack overflow. There is no information as to why would the SSOLifetime setting in AD FS not work or not change the TTL of the refresh token produced by that server.

Regardless of what settings i change, the TTL of the refresh_token is only 60 mins.

I have tried:

  1. Setting the TokenLifeTime of RelyingPartyTrust to any random int, Token is still 60 mins.
  2. Changing the TokenLifeTime in WebApiApplication to any random int, This changed the access_token ttl. (Great Success)
  3. Changing AdfsProperties TokenLifeTime to any random int, Token is still 60 mins.
  4. DeviceUsageWindowInDays is set to 14 days
  5. KMSI is Enabled and set to 30 days. (No effect on tokens what so ever)
  6. BrowserSSO Enabled, BrowserSSO Angents set (No effect on tokens what so ever)
  7. Persistent SSO Enabled, Persistent SSO TokenLifeTime is set to 30 days. (No effect to tokens)

I am requesting the token from a mobile app, written in React-Native using expo. My only goal is to get the refresh token to live longer then 60 mins. screen

Upvotes: 0

Views: 59

Answers (0)

Related Questions