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

Cypress giving 404 not found after authentication #28402

Closed
eoin-roll-out opened this issue Nov 24, 2023 · 1 comment
Closed

Cypress giving 404 not found after authentication #28402

eoin-roll-out opened this issue Nov 24, 2023 · 1 comment

Comments

@eoin-roll-out
Copy link

Current behavior

Hi - I am a QA working on a new application that uses an oidc flow with a third party for authentication to the app which means the subdomains are different. Currently when I navigate through this journey I receive a 404 from cypress.

I have got around this in the past by setting session details directly into the cypress window but this is not now working. I think this is absolutely an issue to address as cypress currently penalises testers on apps that have greater security due to it's problem with subdomains.

In the meantime any workarounds would be appreciated.

Desired behavior

I am able to login to cypress and conduct my tests.

Test code to reproduce

Please ask for this as I would not like to provide code visible to everyone.

Cypress Version

13.0.0

Node version

16.19.0

Operating System

macOS 13.6

Debug Logs

404 webpage

Other

No response

@jennifer-shehane
Copy link
Member

@eoin-roll-out We've made several changes with Cypress with the introduction of Cypress 12 including Test Isolation, cy.session and cy.origin. The combination of which are useful for testing login flows. I'd suggest reading through these docs.

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