-
-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"download dev": two-factor authentication error 412 when many trusted phones #79
Comments
412 PRECONDITION FAILED Can you describe more about what you were doing when you saw the error? I don't understand:
|
Apple ID can have several trusted phones. My Apple ID have 6 phones. When I choose last one (with ID=6), Apple server (https://idmsa.apple.com/appleauth/auth/verify/phone/securitycode) return 412 code.
(hard code ID=6) |
Aww yes, I see what you mean! I need to support allowing the user to pick 1 out of many iDevices to choose from when entering the 2factor code! |
It is already done in UI! But not working in backend... There is phone choose, but ID in POST method always equals 1. |
This should be fixed in the latest release. Thank you for reporting! I vaguely remember when I first wrote this cmd that I was testing it so much that Apple flat out refused to send me ANY more SMS codes to my device and would ONLY do "trusted-device" push notifications. I also have only 1 device 😞 so I didn't notice this bug. Thank you! 👍 |
feel free to close the issue if the fix is good |
works great. good job! |
When many (for me it is 6 phones) trusted phones used in Apple ID and used phone with non first ID download dev finished with 412 error:
This caused with next code where ID=1 is hardcoded internal/download/dev_portal.go
The text was updated successfully, but these errors were encountered: