Home:ALL Converter>Sign in with Apple ID says invalid responseType

Sign in with Apple ID says invalid responseType

Ask Time:2020-01-28T14:21:11         Author:Alfred Woo

Json Formatter

I need to implement sign in with Apple feature in Android applications, so I followed instructions of the documentation.

Here is my parameters: response_type=id_token&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI]&scope=email%20name&response_mode=form_post

But the OAuth page says 'invalid_request' with description: 'Invalid responseType'.

They said if the response_type can be id_token and in that case, response_mode should be form_post so I followed them. But I can't figure out why I can't access the OAuth page.

This is the uri I used to access OAuth page: https://appleid.apple.com/auth/authorize?response_type=id_token&client_id=[CLIENT_ID]&redirect_uri=[REDIRECT_URI]&scope=email%20name&state=[STATE]&response_mode=form_post

When response_type is code, I can access OAuth page and login successfully.

Author:Alfred Woo,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/59943139/sign-in-with-apple-id-says-invalid-responsetype
yy