diff --git a/composer.json b/composer.json index 70ab64a..4a683ae 100755 --- a/composer.json +++ b/composer.json @@ -8,8 +8,8 @@ ], "require": { "php": ">=5.6", - "guzzlehttp/guzzle": "~6.5", - "firebase/php-jwt": "~5.2", + "guzzlehttp/guzzle": "~6.5 || ^7.0", + "firebase/php-jwt": "~6.4", "ext-json": "*", "ext-openssl": "*" }, diff --git a/src/Client.php b/src/Client.php index 92765c4..af7d919 100644 --- a/src/Client.php +++ b/src/Client.php @@ -47,7 +47,7 @@ public function __construct(ClientInterface $httpClient, Config $config) public function verifyAndDecodeJwt($jwtToken) { return new JwtVerifyResponse( - JWT::decode($jwtToken, $this->getApplePublicKey(), ['RS256']) + JWT::decode($jwtToken, $this->getApplePublicKey()) ); }