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

Following this guide: Developing RESTful APIs with Lumen (A PHP Micro-framework)

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: https://github.com/auth0/auth0-PHP/blob/master/src/JWTVerifier.php#L114

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.

Thanks a lot for sharing it with the rest of community!