Frank Steiler
Frank Steiler
@skaeight looking at the previously shared HAR files by @Tomfox91 I don't think this will be necessary (as long as you allow iCloud Access through the WebUI)
See https://github.com/foxt/icloud.js/issues/4 for some research done on this topic
As you see, I've added the initial bits based on the available investigations - I'm pretty sure that it won't work straight away, but I can't test it myself. So...
I'm guessing the second screenshot is the reply from `setup.icloud.com/setup/ws/1/accountLogin`? Meaning we currently don't get a value for the `HSA-LOGIN` cookie?
Yeah - on a previously shared HAR file of the web interaction I can see this cookie getting set (and I don't get it for a non-ADP account). So this...
I've checked again - and I do get an `WEBAUTH_HSA_LOGIN` cookie on the web and none in the tool (but I don't seem to need it as long as I...
Okay - so it seems the `WEBAUTH_HSA_LOGIN` token is only temporarily available and necessary to acquire the PCS cookies when ADP is enabled. I think this will require more re-implementation...
#363 is taking precedence for now - I'll be looking at ADP once I'm back following the current iCloud Web App authentication flow.
hey @leipert - that sounds like a reasonable additional feature (and shouldnt be too hard)... let me add it to the backlog
I've created a separate issue (https://github.com/steilerDev/icloud-photos-sync/issues/354) to explain my proposal for a new library version that should resolve this issue. Would therefore love to get your feedback on there.