These are chat archives for IdentityServer/Thinktecture.IdentityServer3
When you load the application, TokenMgr needs a configuration (that is config in the sample app). In order to get the mgr filled, I need to redirectForToken(), right? That makes the call to the server. And we get the access_token, id_token and everything we need. But if we refresh the page, providing that I have the TokenMgr in an interceptor class, that proccess repeats everytime when we have a refresh, or redirected to some other url and come back, etc.
I would like to check the localstorage value of the token's expired property before these all, and if I have a valid one, use that instead of going to the server and ask for a new token everytime.