using that code to get the access token
$client = new League\OAuth2\Client\Provider\Apple([
'clientId' => $this->apple_clientId ,
'teamId' => $this->apple_teamId,
'keyFileId' => $this->apple_keyFileId,
'keyFilePath' => $this->apple_keyFilePath,
'redirectUri' => $this->apple_redirectUri,
]);
$token = $client->getAccessToken('authorization_code', [
'code' => $idToken
]);
results :
PHP Fatal error: Uncaught Error: Cannot instantiate interface Lcobucci\JWT\Token in [/var/www/vhosts/..../lcobucci/jwt/src/Token/Builder.php]:122
PHP version : 7.4.33
using that code to get the access token
results :
PHP Fatal error: Uncaught Error: Cannot instantiate interface Lcobucci\JWT\Token in [/var/www/vhosts/..../lcobucci/jwt/src/Token/Builder.php]:122PHP version : 7.4.33