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

cookies only last 10 minutes #17

Open
josh-griffin opened this issue Apr 7, 2021 · 3 comments
Open

cookies only last 10 minutes #17

josh-griffin opened this issue Apr 7, 2021 · 3 comments

Comments

@josh-griffin
Copy link
Contributor

need to refresh the cookies i guess..?

Would also be nice to have logins persist! How do you do that

@mark-prins
Copy link
Contributor

I do like fresh cookies.
There is a process for JWT refresh tokens though that won't be in the desktop API. Set a much longer timeout on the cookie?

@josh-griffin
Copy link
Contributor Author

seems the "v4 api" does actually 'refresh' the max age of the cookie on every request.

Not too sure how to move forward with this.. but did the longer timeout here https://github.com/sussol/msupply/pull/8488

@mark-prins
Copy link
Contributor

Noticed that if I leave the form open for a while and come back to it and hit submit, then the API returns a 401 ( no JWT present ) and the spinner shows indefinitely on the form

@mark-prins mark-prins changed the title cookes only last 10 minutes cookies only last 10 minutes Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants