How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Ever since #1391, Nextcloud often reloads the page, losing any progress in whatever was being worked on.
Steps to reproduce
- Log in using an OIDC IDP with the
store_login_token option enabled (used Authentik).
- Wait the
isExpiring() threshold duration.
- Lose any in-progress work on your current page (any app which does not constantly silently save progress), as Nextcloud reloads and goes through the token exchange flow.
Expected behaviour
In-progress work should not be lost and the focused page should not arbitrarily redirect away if possible...
Behaviour this invasive should at least come with a separate toggle in the UI and a warning message.
Actual behaviour
After the token refresh timeout, even if the user is working on something, a browser redirection flow begins to
/login?redirect_url=...
/apps/user_oidc/login/1?redirectUrl=...
https://idp..../application/o/authorize/?...
/apps/user_oidc/code?...&state=...
before finally landing back on the current page url, with any previous unsaved work in progress on that page lost in the process.
Server configuration
Web server: docker nextcloud:apache
Database: PostgreSQL
PHP version: 8.4
Nextcloud version: 33.0.4
Browser
Browser name: Firefox
Browser version: 151.0.2
Operating system: Fedora 44
IDP: Authentik
How to use GitHub
Ever since #1391, Nextcloud often reloads the page, losing any progress in whatever was being worked on.
Steps to reproduce
store_login_tokenoption enabled (used Authentik).isExpiring()threshold duration.Expected behaviour
In-progress work should not be lost and the focused page should not arbitrarily redirect away if possible...
Behaviour this invasive should at least come with a separate toggle in the UI and a warning message.
Actual behaviour
After the token refresh timeout, even if the user is working on something, a browser redirection flow begins to
/login?redirect_url=.../apps/user_oidc/login/1?redirectUrl=...https://idp..../application/o/authorize/?.../apps/user_oidc/code?...&state=...before finally landing back on the current page url, with any previous unsaved work in progress on that page lost in the process.
Server configuration
Web server: docker nextcloud:apache
Database: PostgreSQL
PHP version: 8.4
Nextcloud version: 33.0.4
Browser
Browser name: Firefox
Browser version: 151.0.2
Operating system: Fedora 44
IDP: Authentik