Closed seruymt closed 9 months ago
8.7
PHP 8.2
The signature is verified two times per request according to \Auth0\SDK\Token\Parser::verify()
\Auth0\SDK\Token\Parser::verify()
$verifier = new Verifier( $this->configuration, implode('.', [$parts[0], $parts[1]]), $signature, $headers, $algorithm, $jwksUri, $clientSecret, $cacheExpires, $cache, ); $verifier->verify();
First time in the Verifier class constructor, then again after the declaration.
Verifier
Do a call with \Auth0\SDK\Token\Parser::verify
Hey @seruymt 👋 Thanks for reporting this! Good catch! Overlooked this when we refactored this class some time ago. Definitely a redundant call there. I'm preparing a PR to fix that.
Checklist
SDK Version
8.7
PHP Version
PHP 8.2
Description
The signature is verified two times per request according to
\Auth0\SDK\Token\Parser::verify()
First time in the
Verifier
class constructor, then again after the declaration.How can we reproduce this issue?
Do a call with \Auth0\SDK\Token\Parser::verify