Back to Browse

Fix Laravel 419 Page Expired Error in iFrame — Quick & Easy Tutorial!

50 views
Dec 11, 2025
4:08

I created a Laravel Application and want to embed it into another site via iframe. Firstly you have to sign-in in my Application, but when the form gets submited I get a 419 Page expired problem. Solution: Yes, you can play with the config/session.php same_site value. 'same_site' = 'lax' to 'same_site' = 'none', Next add in your .env file SESSION_SECURE_COOKIE=true

Download

0 formats

No download links available.

Fix Laravel 419 Page Expired Error in iFrame — Quick & Easy Tutorial! | NatokHD