With server side sessions on IdentityServer the refresh token flow not only provides new access tokens, but it also ensure that the session on IdentityServer is kept alive.
Consider adding a feature that checks the token expiry time during the cookie principal validation and runs the refresh token flow if needed.
With server side sessions on IdentityServer the refresh token flow not only provides new access tokens, but it also ensure that the session on IdentityServer is kept alive.
Consider adding a feature that checks the token expiry time during the cookie principal validation and runs the refresh token flow if needed.