superlogin icon indicating copy to clipboard operation
superlogin copied to clipboard

Adding a refreshed date to sessions

Open peteruithoven opened this issue 7 years ago • 1 comments

On the client we'd like to detect when it's a good moment to refresh the session. Currently we only have a issued date (which is set to the date of a login) and a expires date. This means that after a refresh (which don't currently update the issued) it's impossible to determine a good moment to call refresh. Also see: https://github.com/micky2be/superlogin-client/issues/59

I propose we add a refreshed field?

Updating the issued doesn't really make sense to me since the token / key and password remain the same?

peteruithoven avatar May 18 '17 08:05 peteruithoven