whitecube / laravel-cookie-consent

Register, configure and ask for cookies consent in a EU-compliant way
MIT License
312 stars 37 forks source link

Cookie not getting set #14

Closed glennraya closed 11 months ago

glennraya commented 11 months ago

I am using Laravel 10+, with a .test domain with SSL, When I try to 'accept all' or 'only essential' the cookie is NOT getting set. I followed the instructions carefully, am I missing something? When I refresh the page, the cookie consent dialog still shows up.

glennraya commented 11 months ago

Okay, I'm using Inertia+React, and it solves my issue when I place @cookieconsentscripts and @cookieconsentview before the inertia directives in the app.blade.php