Auth0-react and cypress

I still want improvements -

  • I’d prefer to have a solution that works w/o local storage
  • How to get rid of the horrible __cypress hack - I needed it as auth0.getAccessTokenSilently() didn’t return a token that included the user that Hasura needs
  • There’s a mismatch on the localstorage key in auth_audience in the commands.js and that I store it as default (because of the application uses default), but I didn’t get why/how.

Anyway, happy I found a workaround. Maybe it helps someone else.