Nextcloud session / token can timeout without error message or prompt to re-login #320

Open
opened 2025-03-25 18:27:11 +00:00 by teutat3s · 0 comments
Owner

I have noticed this, especially weird behaviour when trying to change personal security settings that suddenly don't take effect.

Logout and re-login is a workaround.

In the server logs, I've found the following error messages in DEBUG mode:

CSRF check failed Code 412

and

No public access to this resource., AppAPIAuth has not passed, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured

Maybe related upstream issue: https://github.com/nextcloud/user_oidc/issues/743

I have noticed this, especially weird behaviour when trying to change personal security settings that suddenly don't take effect. Logout and re-login is a workaround. In the server logs, I've found the following error messages in DEBUG mode: ``` CSRF check failed Code 412 ``` and ``` No public access to this resource., AppAPIAuth has not passed, No 'Authorization: Basic' header found. Either the client didn't send one, or the server is misconfigured ``` Maybe related upstream issue: https://github.com/nextcloud/user_oidc/issues/743
teutat3s changed title from Nextcloud token can timeout without error message or prompt to re-login to Nextcloud session / token can timeout without error message or prompt to re-login 2025-03-25 18:27:25 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pub-solar/infra#320
No description provided.