-
Notifications
You must be signed in to change notification settings - Fork 21
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
Sync does not work after user is inactive for some time #935
Comments
with #956 this will be somewhat fixes by our own auth implementation (logged in for 2h, for each requests during that time the two hours start again). What is missing is a frontend feedback when the auth-cookie is expired. In this case the user should be logged out. |
One option could be to automatically logout the user if the cookie expires / requests of the PouchDB are returning 401. This should not restrict the offline capability though. |
also see related #2044 |
🎉 This issue has been resolved in version 3.34.0-master.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.34.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Describe the bug
The remote authentication is not refreshed automatically so if a user is not making changes for 10 minutes, the remote session expires. Any local changes after that are not synced (Network tab of developer console will show a 401 response).
To Reproduce
Steps to reproduce the behavior:
Expected behavior
As long as the user is logged in the frontend, the remote auth should be automatically kept alive so that syncing always works.
The text was updated successfully, but these errors were encountered: