XcodesOrg / XcodesOrg/xcodes

400 when logging in with Apple ID

Open
#285 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
4.8k
Forks
182
Avg merge
2d 12h
Merged PRs (30d)
1

Description

Hi! This app looks very nice.

Unfortunately I am unable to login for xcodes. I have time-based 2fa enabled on my Apple ID, and it is managed by my organization.

/Users/bram.geron/src/main〉xcodes version # just downloaded from homebrew
1.3.0
/Users/bram.geron/src/main〉xcodes download '14.3 (14E222b)'
Apple ID: me@example.com
Apple ID Password: <enter password>
Two-factor authentication is enabled for this account.

Enter "sms" without quotes to exit this prompt and choose a phone number to send an SMS security code to.
Enter the 6 digit code from one of your trusted devices: 570 877
Invalid HTTP response (400) for https://idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode.
Invalid HTTP response (400) for https://idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode.

This is a fresh install from Homebrew, I'm using it for the first time.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the xcodes download '14.3 (14E222b)' login flow and inspect handling of the Apple ID endpoint idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode. Done means a valid trusted-device code no longer produces HTTP 400 and the download login flow completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, swift
Domain
authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.