I’m using io.jsonwebtoken to verify the accessToken I get from Auth0. But it always throws
io.jsonwebtoken.SignatureException: JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted. exception. But jwt.io says that the token was valid.
I’m calling the method as below:
What am I missing here?
Note: com.auth0:java-jwt works perfectly but I need to use io.jasonwebtoken for some reason.