Closed travisgu closed 1 year ago
You can also get a code from your iOS or macOS devices by going to iCloud -> Security -> Get a Verification Code. Please note that the account you are logging in with should be the same one those devices are authenticated to. Another thing to keep in mind is sometimes you may get prompted for 2FA code even if the password and email address were incorrect, which is ineffective - please double check that as well.
Thanks for your help. I can get the verification code now. @majd
Just for anyone else who was confused on iOS, the way to get there is:
Settings -> Your Account -> Password & Security -> Get Verification Code
even after entering the verification code from above approach, still getting some other error Failed to login
You need to use the login command exactly the following way:
ipatool auth login --email=<YOUR EMAIL>
It will pop up also the 2FA code verification. My assumption is that other formats somehow don't get the parameters parsed correctly. So the following won't work:
ipatool auth login -email <YOUR EMAIL>
ipatool auth login -email=<YOUR EMAIL>
@tejuamirthi @majd
even after entering the verification code from above approach, still getting some other error
Failed to login
Experienced same issue. Reason is wrong password. Even if you typed wrong password you will asked 2FA. This is confusing a little.
When I used the tool on Macbook, I always stuck on the login step. The message shows:
11:55AM INF enter 2FA code:
I checked my ios devices and there was no code showing. Where can I find the 2FA code? Thanks.