You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I call AcquireTokenByAuthorizationCode with ConfidentialClientApplication I got a refresh token.
It doesn't have any expiration info and therefore DistributedCacheEntryOptions parameters comes with all nulls.
The code in GetOptions puts there default sliding expiration time of 20 minutes.
This is wrong because this token generally should be treated as never expired.
The text was updated successfully, but these errors were encountered:
When I call
AcquireTokenByAuthorizationCode
withConfidentialClientApplication
I got a refresh token.It doesn't have any expiration info and therefore
DistributedCacheEntryOptions
parameters comes with all nulls.The code in
GetOptions
puts there default sliding expiration time of 20 minutes.This is wrong because this token generally should be treated as never expired.
The text was updated successfully, but these errors were encountered: