You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Cypress login my application and redirect to the SSO login page, then providing valid credentials, the SSO Redirect to my application with error "error": "CSRF token was invalid or missing", pls help give some suggestion of how to handle this issue in Cypress?
Desired behavior
Cypress should login the SSO successfully and callback to my application successfully.
Test code to reproduce
it('mysso',function(){cy.visit("https://stage.myapplication.com",{timeout: 120000});cy.get('.hidden-xs > [ng-switch-default=""] > .user-view').click();cy.origin('https://sso.myapplication.com',()=>{cy.get('#username-verification',{timeout:6000}).type("demo");cy.get('#login-show-step2',{timeout:6000}).click();cy.get('#password',{timeout:6000}).type("Welcome123");cy.get('#rh-password-verification-submit-button',{timeout:6000}).click();})cy.get('li.dropdown').contains('Sign out all sessions');})
Cypress Version
13.16
Node version
20.16
Operating System
Mac0s
Debug Logs
No response
Other
NA
The text was updated successfully, but these errors were encountered:
Current behavior
When using Cypress login my application and redirect to the SSO login page, then providing valid credentials, the SSO Redirect to my application with error "error": "CSRF token was invalid or missing", pls help give some suggestion of how to handle this issue in Cypress?
Desired behavior
Cypress should login the SSO successfully and callback to my application successfully.
Test code to reproduce
Cypress Version
13.16
Node version
20.16
Operating System
Mac0s
Debug Logs
No response
Other
NA
The text was updated successfully, but these errors were encountered: