icloud4j
icloud4j copied to clipboard
How to do when two way factor enabled?
You authenticate with the idmsa service, which causes a code to pop up on the device. You then pass that back to the library to complete the two-factor auth.
Check out this area for an example: https://github.com/tmyroadctfig/icloud4j/blob/79d6734a6eed03c685a1f1b8ffe8fb589d351611/src/test/java/tmyroadctfig/icloud4j/ICloudTestUtils.java#L68
It's clear and working fine in my case. I have one more question how can i get list of backups available for one device?
To get backups you need to use this project: https://github.com/horrorho/InflatableDonkey
Thanks for the Reply, I am getting error like this after entering PassCode java.lang.IllegalStateException: Failed to verify code: HTTP/1.1 401 Unauthorized at tmyroadctfig.icloud4j.IdmsaService.sendIdmsaCode(IdmsaService.java:192)
Please help me . I'm in deep search
You'll need to provide a bit more info on what you're doing. Can you send over a code snippet or something?
I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized
I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized