cypress-nextjs-auth0
cypress-nextjs-auth0 copied to clipboard
[Bug] Unable to set secure/http-only cookie
Bug Report
Relevant information
Unable to set custom cookie properties. The below error pops up (with a slightly adjusted content) when I set either of the following in the cypress environment:
-
auth0CookieHttpOnly
-
auth0CookieSecure
Your Environment
- Browser: Chrome
- Browser version: 103
- Cypress version: 10.3.1
- nextjs-auth0 version: 1.9.1
- cypress-nextjs-auth0 version: 2.1.0
Steps to reproduce
- Follow "Installation" steps for
cypress-nextjs-auth0
- Add custom env variables for cookie config
- Attempt to log in
Expected Results
Cookies are set and login was successful.
Observed Results
Cookies are not set. Error is displayed.
this is happening to me as well, in both Chrome and Electron