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

Refresh session performance 2: Fresh nonce prefetching. #61

Open
alextok opened this issue Jun 11, 2024 · 0 comments
Open

Refresh session performance 2: Fresh nonce prefetching. #61

alextok opened this issue Jun 11, 2024 · 0 comments

Comments

@alextok
Copy link

alextok commented Jun 11, 2024

The issue is related to scenario described here: #60

However, if there is a complaint about waiting for a response, the underlying issue is the lack of a fresh nonce when the device or web app has been inactive for a while.

If the device has been unused or the web app is inactive, the auth cookies will expire. Before allowing workload requests, the cookie needs to be updated. To make an update for one request, the client needs a fresh nonce.

We can apply multiple approaches:

  1. Utilize a browser service to pre-fetch the nonce from the web.
  2. Allow an operating system component to pre-fetch the nonce and have the browser read it.
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

1 participant