Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Expired OIDC login button #4600

@thespad

Description

@thespad

Describe the Bug

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 118.0.1 x64 on Windows 10

Exact BookStack Version

v23.08.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions