Git Product home page Git Product logo

Comments (2)

AndreyNikiforov avatar AndreyNikiforov commented on June 3, 2024

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?

from icloud_photos_downloader.

scaraebeus avatar scaraebeus commented on June 3, 2024

It's possible the X-Apple-Repair-Session-Token could be passed in as the dsWebAuthToken. The call to /signin appears to always return a 200 success now from what I can tell - the actual response or error code seems to be held within X-Apple-I-Rscd or X-Apple-I-Ercd, respectively. I haven't seen the 412 code yet, so likely something about the account being in a certain state (not HSA2 enabled?)

I noticed there is also a Location header pointing to repair - it looks like the 412 code would likely cause the flow to go to the account repair with the Repair-Session-Token and do some magic (i.e - likely attempt to enable HSA2 on the account).

The OAuth-Context may not really be needed or relevant in this case.

I can try catching the X-Apple-Repair-Session-Token and passing it to dsWebAuthToken and see if that helps - unfortunately, I likely won't have time until next week sometime to look at this.

EDIT:
@kkaretnyk - If you log into iCloud directly with this account, do you get any messages to upgrade, or any errors, or does it just work?

from icloud_photos_downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.