Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timed refresh mechanism #33

Open
dickhardt opened this issue Apr 6, 2024 · 1 comment
Open

timed refresh mechanism #33

dickhardt opened this issue Apr 6, 2024 · 1 comment

Comments

@dickhardt
Copy link

To remove latency from calling APIs where the cookie has expired and the browser does the refresh adding latency, I would likely set a timer to POST to /securesession/refresh on a regular basis. Perhaps doing this could be part of the API?

@arnar
Copy link
Collaborator

arnar commented Apr 9, 2024

We do expect that browsers try to pre-emptively refresh before the cookies expire. This takes some care as indefinite background pings when the user isn't actually using that website/app don't quite make sense from a privacy perspective. So we've left the triggers and timing for this that browser implementations should control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants