php-apple-signin
php-apple-signin copied to clipboard
๐ Decode Apple Sign In client tokens in PHP
hello, downloaded this project then update composer and add testing code on new file index.php require_once 'Vendor/autoload.php'; use AppleSignIn\ASDecoder; $identityToken = " "; $appleSignInPayload = ASDecoder::getAppleSignInPayload($identityToken); print_r($appleSignInPayload); but i getting...
The decoding of the JSON web token, which is created when logging in with the Apple SignIn process, sometimes fails due to a SignatureInvalidException. I found out that Apple delivers...
The url for version 1.1 is https://api.github.com/repos/GriffinLedingham/php-apple-signin/zipball/069e79b7ca2366fdebd3f92289281912849e0cb1 Composer picks this up and gives an old release instead of the newest 1.1.
This program can verify if the identityToken is valid with clientUser. But it didn't verify if the clientUser is from the app I wish to verify (Service ID, Team ID)...
Let me know if you like the direction I have taken here or not, and if you want to work to get changes merge back into this repo :) #...
Apple uses ES256 algorithm for their keys, but the JWT.php included in this package does not support ES256.
Improves functions to get Apple keys, moving to cURL, adding the ability to cache the keys for a period of time (default to one hour). Also incorporates other PRs.
I have issues with `file_get_contents` on my server for some yet unknown reason. I get the error below. `PHP Warning: file_get_contents(https://appleid.apple.com/auth/keys): failed to open stream: Connection refused in php shell...
ๅผๅ ฅ็ฑปๅบๅ๏ผๆฅๆถๅฐ่นๆ็ซฏ็ป็ๆฐๆฎๆ็คบ Signature verification failed ่ฏท้ฎๆฏไปไนๅๅ ใ
Fatal error: Uncaught Error: Class 'AppleSignIn\Vendor\ExpiredException' not found in /path/to /vendor/`griffinledingham/php-apple-signin/Vendor/JWT.php on line 135` You should better use `https://github.com/firebase/php-jwt` in the composer config file rather than create a vendor folder.