"419 Page Expired" When user inactive in login page then try to login and configured Single Sign On mode #4713

Open
opened 2026-02-05 09:12:08 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @nurradityam on GitHub (May 1, 2024).

Describe the Bug

I just noticed the login page when configured with Single Sign On did not automatically refreshed, so if a user logged out or inactive in login page for a long time then try login, it show 419 Page Expired error, the current workaround was refreshing the page

Steps to Reproduce

  1. bookstack configured to SSO mode
  2. go to bookstack login page and let the page inactive for few hours
  3. try to login
  4. it show 419 Page Expired

Expected Behaviour

after click login it should redirected to SSO login page

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v24.02.2

Originally created by @nurradityam on GitHub (May 1, 2024). ### Describe the Bug I just noticed the login page when configured with Single Sign On did not automatically refreshed, so if a user logged out or inactive in login page for a long time then try login, it show 419 Page Expired error, the current workaround was refreshing the page ### Steps to Reproduce 0. bookstack configured to SSO mode 1. go to bookstack login page and let the page inactive for few hours 2. try to login 3. it show 419 Page Expired ### Expected Behaviour after click login it should redirected to SSO login page ### Screenshots or Additional Context _No response_ ### Browser Details _No response_ ### Exact BookStack Version v24.02.2
OVERLORD added the 🐛 Bug label 2026-02-05 09:12:08 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4713