Allow cookies in session when logging in with redirection #23279
Unanswered
reggZez
asked this question in
Questions and Help
Replies: 1 comment
-
Having the exact same issue, very interested to see if anyone has gotten this to work using cy.session. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,

Don't know if the title is correct but let me describe my problem. I am having trouble logging into my application using microsoft login. How it works manually, is that once you go to the app URL you are redirected to the Microsoft login and after inserting valid credentials you are redirected back to the app.
After I supply valid url with cy.visit('/') to my app, I should be redirected to the Microsoft login, but instead I get that my browser is blocking cookies.
Previous issue that I had with this was the removal of Cypress test frame upon redirection. This is resolved by using: experimentalModifyObstructiveThirdPartyCode
experimentalSessionAndOrigin
Is there a way to login into the app with all these redirections? Any information would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions