419 Page Expired on Adroid Phone #4347

Closed
opened 2026-02-05 08:37:30 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @logicalasia on GitHub (Dec 3, 2023).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

When I login via Android Chrome with saved password, it point to page 419 Page Expired.
It is working fine on Computer Browser.

If I login with Chrome saved password, it show me 419 Page Expired. If I click back button, it brings me to default bookstack homepage (after login), which is correct result.
If I type the username and password manually everytime I login (in Android Chrome), it brings me to default bookstack homepage, which is correct result.

Tried to clear google save passwords, cache, cookies, and login in again same result happen.

I am using http://

Exact BookStack Version

BookStack v23.10.1

Log Content

No response

Hosting Environment

Installed in Synology Container

Originally created by @logicalasia on GitHub (Dec 3, 2023). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario When I login via Android Chrome with saved password, it point to page 419 Page Expired. It is working fine on Computer Browser. If I login with Chrome saved password, it show me 419 Page Expired. If I click back button, it brings me to default bookstack homepage (after login), which is correct result. If I type the username and password manually everytime I login (in Android Chrome), it brings me to default bookstack homepage, which is correct result. Tried to clear google save passwords, cache, cookies, and login in again same result happen. I am using http:// ### Exact BookStack Version BookStack v23.10.1 ### Log Content _No response_ ### Hosting Environment Installed in Synology Container
OVERLORD added the 🐕 Support label 2026-02-05 08:37:30 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Dec 5, 2023):

Hi @logicalasia,
If you specifically open the login page, reload the page (using the browser refresh button) then auto-fill login, does the login work okay or is it the same result?

@ssddanbrown commented on GitHub (Dec 5, 2023): Hi @logicalasia, If you specifically open the login page, reload the page (using the browser refresh button) then auto-fill login, does the login work okay or is it the same result?
Author
Owner

@logicalasia commented on GitHub (Dec 5, 2023):

Hi @logicalasia,
If you specifically open the login page, reload the page (using the browser refresh button) then auto-fill login, does the login work okay or is it the same result?

Same Error
I tested in Chrome Normal and Incognito mode

@logicalasia commented on GitHub (Dec 5, 2023): > Hi @logicalasia, > If you specifically open the login page, reload the page (using the browser refresh button) then auto-fill login, does the login work okay or is it the same result? Same Error I tested in Chrome Normal and Incognito mode
Author
Owner

@ssddanbrown commented on GitHub (Dec 5, 2023):

Okay, and is this reproducible on our demo site?

@ssddanbrown commented on GitHub (Dec 5, 2023): Okay, and is this reproducible [on our demo site](https://demo.bookstackapp.com/books/bookstack-demo-site/page/logging-in-to-the-demo-site)?
Author
Owner

@logicalasia commented on GitHub (Dec 6, 2023):

Yes, after few tried, some errors happen.. I share you the screen recording..
the errors happen when i used "google saved password" to login. and it is working fine if I key in username and password manually.

https://github.com/BookStackApp/BookStack/assets/84135001/b1b0cb87-e4a1-4f65-956f-f79532ee0839

@logicalasia commented on GitHub (Dec 6, 2023): Yes, after few tried, some errors happen.. I share you the screen recording.. the errors happen when i used "google saved password" to login. and it is working fine if I key in username and password manually. https://github.com/BookStackApp/BookStack/assets/84135001/b1b0cb87-e4a1-4f65-956f-f79532ee0839
Author
Owner

@ssddanbrown commented on GitHub (Dec 6, 2023):

Thanks for checking, and for the clear video demo.
It's strange, like it's maybe pre-filling the XSRF token.

I'll look to do some testing on my side to see if I can replicate also, and if so debug to see what's going on.

@ssddanbrown commented on GitHub (Dec 6, 2023): Thanks for checking, and for the clear video demo. It's strange, like it's maybe pre-filling the XSRF token. I'll look to do some testing on my side to see if I can replicate also, and if so debug to see what's going on.
Author
Owner

@jacac commented on GitHub (Jan 31, 2024):

We are also getting complains from some users seeing the 419 error code. If the device time is off by a few minutes could this result in a wrong XSRF token? The only think I could find is https://trycatchdebug.net/news/1098027/fix-debug-419-in-laravel-google-callback

I see in the access log POST /oidc/login HTTP/1.1" 419 6628. But in Firefox I don't have POST request going to /oidc/login. Somehow in Safari for this client it is generation that POST request and could not find the reason.

@jacac commented on GitHub (Jan 31, 2024): We are also getting complains from some users seeing the 419 error code. If the device time is off by a few minutes could this result in a wrong XSRF token? The only think I could find is https://trycatchdebug.net/news/1098027/fix-debug-419-in-laravel-google-callback I see in the access log `POST /oidc/login HTTP/1.1" 419 6628`. But in Firefox I don't have POST request going to `/oidc/login`. Somehow in Safari for this client it is generation that POST request and could not find the reason.
Author
Owner

@ssddanbrown commented on GitHub (Sep 3, 2025):

Since this support request is quite old, I'm going to close this off.
If support is still required, please open a new support thread.

@ssddanbrown commented on GitHub (Sep 3, 2025): Since this support request is quite old, I'm going to close this off. If support is still required, please open a new support thread.
Author
Owner

@TrackNew commented on GitHub (Nov 30, 2025):

I am experiencing issues of this kind in Safari 16 at macOS 11.7.9, too.

@TrackNew commented on GitHub (Nov 30, 2025): I am experiencing issues of this kind in Safari 16 at macOS 11.7.9, too.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4347