-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Cypress 9.6.0- Unable to login to applications via Github using cy.origin #21363
Comments
@mohinid, thanks for logging this and providing the test cases. Based on my preliminary digging, I think there is an issue with cookie. Specifically when run in cypress the I also verified that this does run successfully in firefox. |
Thanks, @mjhenkes for acknowledging. Will wait for the fix on chrome, electron, and edge. |
The code for this is done in cypress-io/cypress#22320, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Current behavior
I am trying to use cy.origin to login to CircleCi(https://circleci.com/vcs-authorize/). Also, have 2Factor disabled on my GitHub Id. My login is successful and authorized via GitHub but after then it is failing to redirect me to the CircleCi dashboard(https://app.circleci.com/).
A similar issue is happening on Netlify. I am able to login to github from cy.origin but then it is not redirecting me to the netlify home page(https://app.netlify.com/).
I am trying to replicate what is mentioned in the cypress blog. It is mentioned that cy.origin can be used for third part login such as Auth0 and Github. I need your investigation.
https://cypress.io/blog/2022/04/25/cypress-9-6-0-easily-test-multi-domain-workflows-with-cy-origin/
Desired behavior
After successful login from Github, user should be redirected to the application under test.
Test code to reproduce
Cypress Version
9.6.0
Other
No response
The text was updated successfully, but these errors were encountered: