-
-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I had issues with the Cookie state not saving on octane with Laravel 11, I resolved it with 3 changes.
Hard coding the consent cookie name in config/cookieconsent.php
Manually adding the consent cookie name to
$middleware->encryptCookies(except: [])
in bootstrap/app.php
and adding
'flush' => [
'cookie.consent',
\WhiteCube\LaravelCookieConsent\CookieConsent::class,
],
to config/octane.php
Its now working fine in Laravel 11 with Octane
Metadata
Metadata
Assignees
Labels
No labels