Auth0 Home Blog Docs

Why is the Auth0 PHP library throwing a "Cannot trust token issued by" exception?



Following this guide:

Every time a secured endpoint is hit, the API is returning a “We can’t trust on a token issued by” exception, as defined here in the JWT verifier library:

Both the “valid_audiences” and “authorized_iss” parameters are defined in the api, as instructed to do so in the guide. Does anybody know of any reason this would be happening?


I was missing a trailing slash in my authorized_iss.