[ solved ] Fails to decode id_token

My application is built in PHP and uses auth0/auth0-php. Just found when OIDC Conformant is enabled, it’s unable to decode id_token. The code for decoding is like -

        $verifier = new \Auth0\SDK\JWTVerifier([
            'valid_audiences' => [$config->client_id],
            'client_secret' => base64_encode($config->client_secret)
        $tokenInfo = $verifier->verifyAndDecode($input['id_token']);

If I disable OIDC Conformant, it is able to decode id_token successfully.
I am using HS256 as JsonWebToken Signature Algorithm. Is there anything I am missing for decoding id_token?


Hey @unahou

As it has been more than a few months since this topic was opened and there has been no reply or further information provided from the community as to the existence of the issue we would like to check if you are still facing the described challenge?

We are more than happy to assist in any way! If the issue is still out there please let us know so we can create a new thread for better visibility, otherwise we’ll close this one in week’s time.

Thank you!

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