Curious Guy
I need to create a REST API for my iOs application with PHP for adding Apple Sign In.
I didn’t try the request_type=‘code’ step as I am getting the code from iPhone mobile. Since the $client_secret we need here is JWT and the code isn’t given here, I am following it from here: https://stackoverflow.com/q…. The JWT code is quite large. When I hit the URL "'https://appleid.apple.com/a… via Curl and params. I am getting following error. What could be the cause of this error and how to fix it? I am stuck on this point since yesterday. Any suggestions?
Is there any PHP plugin available that only need the respective keys and p8 file and provide the user name, email, etc from Apple? Please note, I don’t need ‘redirect_url’ for rest API. If I send just any URL, will I still get the response array correctly? I am getting this error:
stdClass Object
(
[error] => invalid_client
)