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
Gets stuck at https://<auth0domain>/authorize/resume when trying to log in using Auth0 OpenID connect with session cypress
Desired behavior
It should allow me to fully complete the Oauth and end up at the callback url
Test code to reproduce
I have a working app that uses Auth0 for authentication. In the workflow the user visits http://site/login and they are redirected to the auth0 domain for the login popup. Once logged in it should be forwarded back to http://site/callback. However, when I have this as my test
It fills out everything and then clicks the button but when it is redirected it gets stuck at https://<auth0domain>/authorize/resume. If I try reloading with await cy.visit(baseUrl); I get...
cy.visit() failed because you are attempting to visit a URL that is of a different origin.
Cypress Version
^8.4.1
Other
No response
The text was updated successfully, but these errors were encountered:
You can't currently visit another url that is of a different origin within a single test. We're currently working on supporting this. Duplicate of #17336
There are many guides online showing ways to test with Auth0 through verifying the API calls that you should reference to write this test in a programmatic way until that is delivered.
Current behavior
Gets stuck at
https://<auth0domain>/authorize/resume
when trying to log in using Auth0 OpenID connect with session cypressDesired behavior
It should allow me to fully complete the Oauth and end up at the callback url
Test code to reproduce
I have a working app that uses Auth0 for authentication. In the workflow the user visits
http://site/login
and they are redirected to the auth0 domain for the login popup. Once logged in it should be forwarded back tohttp://site/callback
. However, when I have this as my testIt fills out everything and then clicks the button but when it is redirected it gets stuck at
https://<auth0domain>/authorize/resume
. If I try reloading withawait cy.visit(baseUrl);
I get...Cypress Version
^8.4.1
Other
No response
The text was updated successfully, but these errors were encountered: