SameSite set to none but cookie blocked regardless

Posted June 23, 2021 125 views

Hello guys,

I recently set DO droplet for my Laravel API. Everythong is working perfect except session cookies are not being set on client because client and backend have different origins and samesite is set to lax.

My problem is that even after I set samesite to none from my Laravel app and even from Nginx configuration samesite is always set to lax.

I get an error from client that samesite is set to null or is invalid and that is why it is defaulting to lax. I’ve tried everything i could think and find but without success.

Any help is much appreciated!

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!