Invalid HTTP response (412) after entering 2FA code
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 4.8k
- Forks
- 182
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 1
Description
Installed via brew and wanted to install xcode 14.3, but after entering Apple ID and PW, when I enter the 2 FA code, the I get this error (twice):
Invalid HTTP response (412) for https://idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode.
I also tried SMS, but it's the same behavior 😞
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure in the Homebrew-installed CLI after submitting a 2FA code, then trace handling of the Apple authentication endpoint shown in the report: https://idmsa.apple.com/appleauth/auth/verify/trusteddevice/securitycode. Done means identifying and resolving the HTTP 412 behavior for both trusted-device and SMS verification, with a regression check if the project has an applicable test.
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
- Needs clarification
- Newbie friendliness
- 35/100