Token expiry #5253
dotnet-core, angular, 5.4.1 Hi all, Can anyone point me in the direction of documentation and/or code for token expiration dates? I use an Ionic app to log into Zero.
How long is the token valid for? How does sliding expiration work?
I know this is probably off-piste for Zero and more of a dotnet question but I have looked both in the code base and in the documentation and can find no detail of how to test both the expiration data and sliding expiration. Thanking you in advance....
Can anyone point me in the direction of documentation and/or code for token expiration dates? How long is the token valid for?
tokenAuthConfig.Expiration = TimeSpan.FromDays(1);
How does sliding expiration work?
SlidingExpiration is only available for cookies. In general, sliding expiration for accessToken is wrong. That's what a refresh token is for. More: #3921@bd978aed-945f-4b70-b020-0597adbae45a