SUNSHINE
SUNSHINE
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
But it really look like an internal bug from Livewire
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
Yeees, on redis we have 4 databases: DB0 = shared sessions DB1 = website Laravel / VueJS - not InertiaJS: only for cache DB2 = website Laravel / InertiaJS: cache + queue (horizon) DB3 = website FilamentPHP: cache + queue (horizon)
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
In VerifyCsrfToken, I've added livewire/* to the excepts URL.
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
OK! I found the solution!!
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
The problem I think is because of Livewire (not filament directly).
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
but it work perfectly between the "Vue/Laravel - not InertiaJS" project and the site A (Laravel/InertiaJS)
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
yes
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
And the login is runned by a 3rd project (VueJS/Laravel - not InertiaJS)
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
There is 2 differents applications (both of them are running on same Laravel/PHP, but with different code). -> The sessions are stored in a database Redis -> All .env has been updated Websites are runing on a sub-domains, but the "main" domains is the same: - backoffice.myproject.com - dashboard.myproject.com
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
I think it's for making a hot-reload, a "SPA" like.
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
I don't know... It's something from Livewire used by FilamentPHP. It's not from my project directly.
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
Here is my cookie, probably samesite?
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
Set-Cookie:
_preprod_v3=eyJpdiI6InZCckRCbHJxTERoejh3bnArd3B0Qmc9PSIsInZhbHVlIjoiczFhNnFWbUNsVWxOUjBHbTF3bkp2WFFUdFV0M2JYcFBtRlJsUGo1SVZrMktEWUxja1p4R0NiUVNRdDBzQlF5aSs3V0xOeFlab2pNQUdxQ2k2eDhoa3NXd3l2QjNEWXh5aVFYRWdJVmJIa291cWVMdEo5TmpybEFwcmx3MDlaRFciLCJtYWMiOiI5YjA2MDgwOWNjZDhiMjA1ZjkxMDk0OGRlYjg5NzllMWExYmY4NTc5M2JkZTk5MzUzMmFhN2EyMTMzMzY0ZWIyIiwidGFnIjoiIn0%3D; expires=Wed, 14 Feb 2024 16:54:45 GMT; Max-Age=7200; path=/; domain=.preprod-v3.myproject.com; httponly; samesite=lax
Set-Cookie:
_preprod_v3=eyJpdiI6InZCckRCbHJxTERoejh3bnArd3B0Qmc9PSIsInZhbHVlIjoiczFhNnFWbUNsVWxOUjBHbTF3bkp2WFFUdFV0M2JYcFBtRlJsUGo1SVZrMktEWUxja1p4R0NiUVNRdDBzQlF5aSs3V0xOeFlab2pNQUdxQ2k2eDhoa3NXd3l2QjNEWXh5aVFYRWdJVmJIa291cWVMdEo5TmpybEFwcmx3MDlaRFciLCJtYWMiOiI5YjA2MDgwOWNjZDhiMjA1ZjkxMDk0OGRlYjg5NzllMWExYmY4NTc5M2JkZTk5MzUzMmFhN2EyMTMzMzY0ZWIyIiwidGFnIjoiIn0%3D; expires=Wed, 14 Feb 2024 16:54:45 GMT; Max-Age=7200; path=/; domain=.preprod-v3.myproject.com; httponly; samesite=lax
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
POST /livewire/update this endpoint
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
And it happen when I do a request on site A (InertiaJS), then I go back to site B (Livewire/Filament) and there is a "POST /update" request that is done, it failed on it.
32 replies
FFilament
Created by SUNSHINE on 2/14/2024 in #❓┊help
419 page Expired when sharing sessions across many Laravel projects
Yep, I've double check and APP_NAME/APP_KEY are exactly the same on both projects.
32 replies
FFilament
Created by SUNSHINE on 11/9/2023 in #❓┊help
Adding tab to View page ?
Yep ok not native to FilamentPHP so...
6 replies
FFilament
Created by SUNSHINE on 11/9/2023 in #❓┊help
Adding tab to View page ?
Something here. That's an edit page on this screenshot, but on my side it's for view.
6 replies
FFilament
Created by SUNSHINE on 11/9/2023 in #❓┊help
Adding tab to View page ?
No description
6 replies
FFilament
Created by SUNSHINE on 11/5/2023 in #❓┊help
Compile CSS classes assets ?
Btw, do you know how can I create a condition for the dark mode ?
16 replies