v4: Setting sameSite: "none"
property for the transactionCookie
breaks login
#1940
Open
6 tasks done
Checklist
Description
A few weeks back I requested the ability to configure the
transactionCookie
in #1866 as it was done in v3. This was implemented, however, if I make any changes to it then login never works and returns the following error:Reproduction
Additional context
I need to change the
sameSite
property for Cypress to be able to log in when running locally. I had the same issue in v3 but it was solved by settingsameSite: isLocalhost ? "none" : undefined
. I tried to replicate this behavior with v4 but it's not working as expected.nextjs-auth0 version
4.0.2
Next.js version
14.2.21
Node.js version
18.20.3
The text was updated successfully, but these errors were encountered: