ErrorResponse

ErrorResponse

ErrorResponse Object of SigninwithAppleRESTAPI The error object returned after an unsuccessful request.

object ErrorResponse

Discussion

The error property contains exactly one of the following values:

  • term invalid_request: The request is malformed, typically because it’s missing a parameter, contains an unsupported parameter, includes multiple credentials, or uses more than one mechanism for authenticating the client.
  • term invalid_client: The client authentication failed, typically due to a mismatched or invalid client identifier, invalid client secret (expired token, malformed claims, or invalid signature), or mismatched or invalid redirect URI.
  • term invalid_grant: The authorization grant or refresh token is invalid, typically due to a mismatched or invalid client identifier, invalid code (expired or previously used authorization code), or invalid refresh token.
  • term unauthorized_client: The client isn’t authorized to use this authorization grant type.
  • term unsupported_grant_type: The authenticated client isn’t authorized to use this grant type.
  • term invalid_scope: The requested scope is invalid.