Cookie is not storing i i tried to set sameSite to 'none' #12904
Labels
bug
Something isn't working
invalid reproduction
The issue did not have a detectable valid reproduction URL
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
Environment
System:
OS: Windows 11 10.0.26100
CPU: (16) x64 AMD Ryzen 7 2700 Eight-Core Processor
Memory: 3.22 GB / 15.93 GB
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
npm: 9.6.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (132.0.2957.127)
Internet Explorer: 11.0.26100.1882
npmPackages:
next: ^14.2.28 => 14.2.28
next-auth: ^4.24.5 => 4.24.11
react: ^18.0.0 => 18.3.1
Reproduction URL
https://github.com/nextauthjs/next-auth-example
Describe the issue
how to change sameSite to none if I do this then cookies is not storing anymore If I change it to "lax" then works fine but I have to make it none how to do it?
How to reproduce
just change next auth cookie options sameSite value to none and we try to login I will not create the cookie on the browser
Expected behavior
It should create a cookie with sameSite cookie none
The text was updated successfully, but these errors were encountered: