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

Firefox does not recognise localhost as a secured origin when running through Cypress #16611

Closed
Pixcell opened this issue May 20, 2021 · 6 comments
Labels
stage: needs information Not enough info to reproduce the issue

Comments

@Pixcell
Copy link

Pixcell commented May 20, 2021

Current behavior

When running through Cypress, Firefox does not consider http://localhost:3000 to be a secured origin
image

Although, when running outside of Cypress, it works perfectly fine
image

Desired behavior

When running through Cypress runner, with Cypress extension, firefox should still consider localhost as a secured origin

Test code to reproduce

Any React application with @auth0/auth0-react authentication in place.

Currently this is a private project. I can provide a small repo that reproduce the issue if it helps. Let me know.

Versions

Cypress 7.3.0
Firefox 88.0.1 (64-bit) (started by Cypress)
Firefox 88.0.1 (64-bit) (started manually)

@jennifer-shehane
Copy link
Member

Yes, if you can provide a small repo that reproduces the issue, that would help.

@jennifer-shehane jennifer-shehane added the stage: needs information Not enough info to reproduce the issue label May 21, 2021
@Pixcell
Copy link
Author

Pixcell commented May 23, 2021

Hi @jennifer-shehane ,

Please find a public github repo with a minimal setup to reproduce the issue.

https://github.com/Pixcell/cypress-16611

Thanks!

@Pixcell
Copy link
Author

Pixcell commented Oct 4, 2021

Any update on this?
This is becoming a big problem

@cypress-app-bot
Copy link
Collaborator

This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.

@cypress-app-bot cypress-app-bot added the stale no activity on this issue for a long period label May 17, 2023
@th1nkgr33n
Copy link

@Pixcell I don't know if this helps you, but I had the same issue.
Commented here (#18217 (comment))

I solved the problem to set the cypess.config.ts e2e.baseUrl from "localhost" to "127.0.0.1"

@cypress-app-bot cypress-app-bot removed the stale no activity on this issue for a long period label May 26, 2023
@nagash77
Copy link
Contributor

I am going to close this as a duplicate of 18217. Please follow that issue for updates on any work in this area.

@nagash77 nagash77 closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage: needs information Not enough info to reproduce the issue
Projects
None yet
Development

No branches or pull requests

5 participants