it is very essential to have pop-up just like "https://github.com/stoodz/vuejsTimer.git", I have integrated like if the user click on stay the token is updated with new expiry time.
The oauth implicit workflow is designed to be short-lived - and since the browser cannot be relied on to 'keep a secret', allowing an automated token refresh (without having the user supply their password again) would be a security hole.
However, it got me thinking that I would like to add some additional security to the default setup - so that two-factor verification is triggered if the user logs on from a different devices, or with a different browser.
The oauth implicit workflow is designed to be short-lived - and since the browser cannot be relied on to 'keep a secret', allowing an automated token refresh (without having the user supply their password again) would be a security hole.
However, it got me thinking that I would like to add some additional security to the default setup - so that two-factor verification is triggered if the user logs on from a different devices, or with a different browser.