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.
I changed response_type
value id_token
to code id_token
and the problem solved.