Posts

Post not yet marked as solved
0 Replies
2k Views
Hi,I am trying to integrate with sign in with Apple feature. I am following the documentation mentioned herehttps://developer.apple.com/documentation/signinwithapplejs/incorporating_sign_in_with_apple_into_other_platforms#3332113As per this documentation, when we form the authorization request, the query parameter response_type can have either code or id_token or both as value.However when I form the URL with response_type=id_token only, it fails.Sample URLhttps://appleid.apple.com/auth/authorize?client_id=CLIENT_ID&redirect_uri=VALID_REDIRECT_URL&response_type=id_token&state=VALID_STATE&scope=email%20name&response_mode=form_post&frame_id=880c3c6a-88bc-4c93-bf77-3d55d7864017&m=22&v=1.3.1Note : please replace the placeholders for CLIENT_ID, VALID_REDIRECT_URK and VALID_STATE with valid values to test it out. I get the following error - Invalid request with details as invalid responseType.If I put repsonse_type=code, it works. Also response_type=code%20id_token works. Do we always need to put code in the query parameter value? If not, it seems Apple's impementation is not adhering to the documentation. Please let me know if I am doing anything wrong.
Posted
by abahety.
Last updated
.