Recommended way to get access and id token of an authenticated user for E2E testing

My Auth0 application is configured with grants shown below (Enabling password grant is not recommended).

What is the best way to get the access_token and id_token in order to test the auth0 profile updates of users in Cypress E2E .

Hey there @send2hiday welcome to the community!

Using the password grant for testing purposes should be totally fine, and much more simple to implement. I would probably create an entirely separate database connection in your tenant to use specifically for testing purposes.