php-apple-signin
php-apple-signin copied to clipboard
Undefined property: stdClass::$kid
While using the package I got an error saying "Undefined property: stdClass::$kid"
It happened in: AppleSignIn\Vendor\JWT::getPublicKeyKid at line 158.
Version: ^1.1 php version: 8.1
The code I'm using:
$appleSignInPayload = ASDecoder::getAppleSignInPayload($identityToken);
/**
* Obtain the Sign In with Apple email and user creds.
*/
$email = $appleSignInPayload->getEmail();
$userId = $appleSignInPayload->getUser();
That would be all I'm doing with the package. Should I change something? any help is worthy :)