Error when using Cypress to login with Azure Active Directory #26039
Unanswered
AnimeAllstar
asked this question in
Questions and Help
Replies: 0 comments
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.
-
I followed this tutorial to login via Azure Active Directory using Cypress.
The login works, up until the last point when the following error occurs:
I am using next-auth middleware to protect all my pages and when this error occurs the user is rerouted to the login page.
I am not sure how I am supposed to fix this or if there is an example somewhere with Azure AD + Cypress + Next-Auth.
Any help with how to fix this or an example would help a lot.
Is there a way for me to get cookies and from cy.orign and set them for next-auth?
Beta Was this translation helpful? Give feedback.
All reactions