We've also wasted 1-2 man days trying to debug this issue.
We're 90% sure this is a problem on Apple's side. You can verify by testing with a known "good" client_id.
For example - when we navigate to this URL:
https://appleid.apple.com/auth/authorize?response_type=code&client_id=OUR_APP_ID&scope=email%20name&response_mode=form_post
... which contains our app ID, we get "invalid_client".
When we substitute a third-party app ID, such as Uber's:
https://appleid.apple.com/auth/authorize?response_type=code&client_id=com.ubercab.UberClient&scope=email%20name&response_mode=form_post
... we get "redirect_uri is required", which is the expected response.
We've reached out via Feedback Assistant and Apple's contact form, but no response yet.
Topic:
App & System Services
SubTopic:
General
Tags: