-
Notifications
You must be signed in to change notification settings - Fork 573
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
Authorization for not 2fa account failed with error 'Invalid authentication token.' #747
Comments
Can you try version prior to 1.17.0, pls? Prior to 1.17.0 icloudpd used old Apple auth protocol that stopped working recently for 2FA accounts, but it may still work for account without 2FA. For all new accounts Apple requires 2FA, so it will be very hard to reproduce your setup. @scaraebeus does any of the payloads above ring any bells for you since you were looking at that area recently? |
It's possible the I noticed there is also a The I can try catching the EDIT: |
closing as there are no responses from the issue reporter |
Overview
I have an old account without 2fa. Running icloudpd-1.17.0-windows-amd64.exe to extract photos on a non-2fa account fails with an error 'Invalid authentication token.' For accounts with 2fa, the problem is not relevant.
Steps to Reproduce
Expected Behavior
Logs into icloud
Actual Behavior
Fails to login
Context
I researched the problem a little. The request to https://idmsa.apple.com/appleauth/auth/signin?isRememberMeEnabled=true does not contain the X-Apple-Session-Token in the response, which is then used as dsWebAuthToken. Instead, there are X-Apple-Repair-Session-Token and X-Apple-OAuth-Context.
Request:
Response
The text was updated successfully, but these errors were encountered: