Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Unable to set secure/http-only cookie #61

Open
mct-dev opened this issue Jul 31, 2022 · 1 comment
Open

[Bug] Unable to set secure/http-only cookie #61

mct-dev opened this issue Jul 31, 2022 · 1 comment

Comments

@mct-dev
Copy link

mct-dev commented Jul 31, 2022

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

image

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

  1. Follow "Installation" steps for cypress-nextjs-auth0
  2. Add custom env variables for cookie config
  3. Attempt to log in

Expected Results

Cookies are set and login was successful.

Observed Results

Cookies are not set. Error is displayed.

image

@mct-dev mct-dev changed the title [Bug] Unable to set secure cookie [Bug] Unable to set secure/http-only cookie Jul 31, 2022
@princy789
Copy link

this is happening to me as well, in both Chrome and Electron
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants