sign in with apple login receive error "invalid client "

sign in with apple login , I have authorized success , I can get correct identityToken and authorizationCode.Then I post a request for verification, but receive invalid client error.

parameters as follow: { @"client_id":@"", @"code":@"", @"grant_type":@"", @"client_secret":@"" } I had try online methods ,such as, set request Content-Type is application/x-www-form-urlencoded, but it is useful

I have check some settings and it is no problem, so what should I do to solve this question? Thanks very much

An invalid client error can be the result of multiple failure points on the client-side implementation. For a quick reference of the potential errors returned from the validation response, please see ErrorResponse.

Additionally, the most common occurrence is a mismatched client identifier between the following scenarios:

  • the client id provided in the authorization request (or the audience claim contained within the identity token of the authorization response); and
  • the subject contained within the client secret generated for the validation request.

Please see the Generate and Validate Tokens for additional information about the validation servers.

sign in with apple login receive error "invalid client "
 
 
Q