Skip to content

Client error: POST https://appleid.apple.com/auth/token resulted in a 400 Bad Request response: {"error":"invalid_grant"} #24

@WilliamBlais

Description

@WilliamBlais

I'm having an issue with the callback. I have double checked clientID, teamID and accountId.

Somebody else has this problem?


Acceptance Criteria

  • invalid_client from Apple's token endpoint is handled with a meaningful error
  • Package validates client_id, team_id, and key_id config values on boot (or first use)
  • Documentation updated with common causes and solutions for this error

Test Coverage

  • Unit test: config validation catches missing or malformed credentials
  • Integration test: descriptive exception is thrown when credentials are invalid

WSJF Priority Score

  • Score: 5.00
  • User/Business Value: 6 (Common auth error; often caused by misconfigured creds)
  • Time Criticality: 4 (Steady stream of affected users)
  • Risk Reduction/Opportunity Enablement: 5 (Config validation at boot prevents silent failures)
  • Job Size: 3 points (S — validation + error messaging + docs)
  • Calculation: (6 + 4 + 5) ÷ 3 = 5.00

Metadata

Metadata

Assignees

Labels

WSJF-5.00WSJF score 5.00documentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions