This all works fine, but when I want to test the application in Cypress I am having some problems. I was initially following this guide: End-to-End Testing with Cypress and Auth0 and this seems to implement the best practices from Cypress by using the password grant to log the user in before running the tests.
Having exactly same problem . I able to retrieve the access token, but that is useless to me, since there is no way of providing this token to auth0-spa-js
I haven’t found an official solution and I would love one if possible. So far I’ve resorted to logging in manually and maintaining the local storage between the tests.