Open
Description
Current behavior
Error when trying to connect to an AzureAD SSO authenticated application through Cypress. Get a 302 response with infinite redirection to the microsoft.login.com page, but never actually reach it because we cannot puppeteer a login.
Here's what we've tried so far
- Setting experimentalSessionAndOrigin to true
- Setting experimentalModifyObstructiveThirdPartyCode to true
- Attempting to set up auth tokens ahead of time in cookies
- Puppeteering login
- Running in incognito to make sure it needs to log in
- ChromeWebSecurity set to true
I know this error has been talked about previously here: #7619, but no other solutions/updates in the bug have publicly been shared from what I can tell.
Desired behavior
In this situation, Cypress should redirect to login.microsoft.com and go through the login steps with a service account created specifically for this app, then go back to the application after being authenticated
Test code to reproduce
it('Should login, () => {
cy.visit('url-to=app')
cy.origin('login.microsoft.com', () => {
//Login Steps
})
})
Cypress Version
12.0.0
Node version
20.10.0
Operating System
macOS 14.7.6
Debug Logs
Other
No response
Metadata
Metadata
Assignees
Labels
No labels