Expired OIDC login button #4813

Closed
opened 2026-02-05 09:18:14 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @thespad on GitHub (Jun 4, 2024).

Describe the Bug

Seems to be a recurrance of #4600

If you leave a browser tab logged into Bookstack via OIDC and then close the browser and return later after the session has expired - say the next day - when the page loads it will display the login page, but following the login link will result in a 419 - Page Expired error.

Manually refreshing the login page before clicking the login button works as expected.

Steps to Reproduce

Login to Bookstack via OIDC in a browser tab
Close browser
Reopen browser after login session has expired
Navigate to Bookstack tab
Click on OIDC Login button
See 419 error

Expected Behaviour

Login button should work even if the page itself is stale, or at least fail in a more recoverable way than a full-page 419 error.

Screenshots or Additional Context

No response

Browser Details

Firefox 126.0.1 (64-bit) on Windows 10

Exact BookStack Version

v24.05.1

Originally created by @thespad on GitHub (Jun 4, 2024). ### Describe the Bug Seems to be a recurrance of #4600 If you leave a browser tab logged into Bookstack via OIDC and then close the browser and return later after the session has expired - say the next day - when the page loads it will display the login page, but following the login link will result in a 419 - Page Expired error. Manually refreshing the login page before clicking the login button works as expected. ### Steps to Reproduce Login to Bookstack via OIDC in a browser tab Close browser Reopen browser after login session has expired Navigate to Bookstack tab Click on OIDC Login button See 419 error ### Expected Behaviour Login button should work even if the page itself is stale, or at least fail in a more recoverable way than a full-page 419 error. ### Screenshots or Additional Context _No response_ ### Browser Details Firefox 126.0.1 (64-bit) on Windows 10 ### Exact BookStack Version v24.05.1
OVERLORD added the 🐛 Bug label 2026-02-05 09:18:14 +03:00
Author
Owner

@thespad commented on GitHub (Jun 26, 2024):

I can't reliably replicate this so I'm going to close it. If I can figure out the trigger I'll open with more details.

@thespad commented on GitHub (Jun 26, 2024): I can't reliably replicate this so I'm going to close it. If I can figure out the trigger I'll open with more details.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4813