Hi all! My app uses Google OAuth and we’re in the process of implementing End-to-end testing.
I’ve followed the guide on E2E testing with Cypress and Auth0, which included creating a new connection, for password-based login.
When cypress does the POST request to https://XXX.auth0.com/oauth/token, I can get a token successfully. However, I am a problem with this token. When trying to validate it, I get this error
"message": "Could not verify JWT: invalid signature",
In order to
verify() the token, I’m using the certificate from my App.
I’m left assuming the token generated from Google OAuth is using the App Certificate, but the token generated using my Password Connection (for E2E) is using a different certificate. Or maybe I’m wrong.
Thanks in advance!