Log in with oauth and session #27387
Unanswered
Anag03
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys
I have the following scenario
My home page is https://home.domain.dev/auth/login, on that page I have a button to Continue
After clicking on Continue it redirects to this page https://sso.domain.dev/oauth2/xxxxxxx
On that page, I have the login form, where I can enter the email and password and click on Log in
After logging in, it redirects to https://home.domain.dev/onboarding
I'm trying this but it doesn't work, because after logging in, it redirects to the auth page again.


(I have tried many things, that's why I have that code commented)
How can I log in via UI in this scenario?
Before I used Cypress.Cookies.preserveOnce
Beta Was this translation helpful? Give feedback.
All reactions