Cypress with Auth0

Hello,
I’m testing Auth0 with Cypress. I have read this article from the Auth0 website, (https://auth0.com/blog/end-to-end-testing-with-cypress-and-auth0/), but it uses ‘password’ as the grant type, and not token (like with social Auth Gmail/Facebook).
I want to create a login command in Cypress that simulates login with Gmail account. How do I do it?

Good morning and welcome to the Auth0 community @nainarazz!

While I am not 100% sure on how to accomplish that personally, perhaps @dan.lourenco can ring in with some advice on that front?

In the mean time I will look to see what I can find on my end. Thanks!

1 Like

I haven’t found anything additional on this front other than the Cypress documentation below:

Please let me know if this helps you on the path. Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.