cypress auth0 login
Hi,
I am using Auth0 to log in to my app and the login page is hosted on the Auth0 website which uses callback to redirect to my app after successfully logged in.
I want to write e2e tests for the application but not sure how can I achieve this.
I have implemented the programmatically login command which is working fine and getting the access_token from the Auth0 for provided credentials. But after successfully getting the token by this command, I am not sure how to set it in local storage/cookies so my application doesn't redirect to the auth0 login screen.
Thanks in advance
I am using Auth0 to log in to my app and the login page is hosted on the Auth0 website which uses callback to redirect to my app after successfully logged in.
I want to write e2e tests for the application but not sure how can I achieve this.
I have implemented the programmatically login command which is working fine and getting the access_token from the Auth0 for provided credentials. But after successfully getting the token by this command, I am not sure how to set it in local storage/cookies so my application doesn't redirect to the auth0 login screen.
Thanks in advance
