Auth0 Home Blog Docs

Discrepency with PHP Docs and JWTVerifier.php


There is a discrepency at least with the php auth0 library as downloaded with composer and the docs.

The docs show

$verifier = new JWTVerifier([
    'supported_algs' => ['RS256'],
    'valid_audiences' => [''],
    'authorized_iss' => ['']

JWTVerifier.php is looking for a config of

if (!isset($config['suported_algs'])) {
        $config['suported_algs'] = ['HS256'];

The issues is supported vs suported.

Resolved: This is only an issue if using auth0 4.0

1 Like

Thanks a lot @bigcountry for finding the typo issue. I’ll report it to our product team!

closed #3

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.