Closed antitiron closed 1 month ago
Hi @antitiron,
Based upon your .env
I'm assuming your BookStack instance is served over standard http://
and not https://
?
If so, then cookies are getting blocked by common browser security requirements.
When ALLOWED_IFRAME_HOSTS
is used, cookies are served with SameSite=None
which allows them to work for cross-site requests (since the BookStack instance would be considered third-party when embedded). Browsers require this kind of cookies to be served via https://
with a specific flag (which BookStack will set when the APP_URL
is set to start with https://
).
Yes, inside the LAN, via http://.
Thanks for the reply!
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Hello!
Thank you for the great application.
The problem is similar to issue 2671: 419 Error Page Expired if ALLOWED_IFRAME_HOSTS is added to .env.
I am attaching the config file:
After changes, make sure to run “php artisan optimize:clear”.
I cleared all session cookies, it doesn't work in any browser: not chrome, not firefox.
If you can help - it would be great.
Exact BookStack Version
v24.05.4
Log Content
No response
Hosting Environment
VPS Ubuntu 24.04.1 PHP 8.3.6