I have just started using Livewire and I have embedded by website url which consists of livewire component. I added this to an Iframe and every time something tried to re-render, it gives me a popup asking this:
"An embedded page at websitename says:
This page has expired due to inactivity.
Would you like to refresh this page?"
I have added the website embedded url in to "except" array of VerifyCSRFToken middleware but that didn't work either. How can I embed this in to an Iframe?
For anyone who stumbles on this. The idea is to stop csrf token to be passed every time a request is made. The fix is to disable csrf for all livewire components.