# Discrepency with PHP Docs and JWTVerifier.php

**URL:** <https://community.auth0.com/t/discrepency-with-php-docs-and-jwtverifier-php/20427>\
**Category:** Get Help\
**Created:** [January 23, 2019, 4:21pm UTC](https://community.auth0.com/t/discrepency-with-php-docs-and-jwtverifier-php/20427 "2019-01-23T16:21:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigcountry](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bigcountry/32/14574_2.png) [@bigcountry](https://community.auth0.com/u/bigcountry)\
**Post date:** [January 23, 2019, 4:21pm UTC](https://community.auth0.com/t/discrepency-with-php-docs-and-jwtverifier-php/20427/1 "2019-01-23T16:21:11Z")

</div>

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' => ['127.0.0.1/api'],
    'authorized_iss' => ['https://something.auth0.com/']
  ]);

```

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

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 23, 2019, 5:40pm UTC](https://community.auth0.com/t/discrepency-with-php-docs-and-jwtverifier-php/20427/2 "2019-01-23T17:40:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 7, 2019, 5:40pm UTC](https://community.auth0.com/t/discrepency-with-php-docs-and-jwtverifier-php/20427/3 "2019-02-07T17:40:51Z")

</div>

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