Skip to content
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

How to do when two way factor enabled? #1

Open
rameshT108 opened this issue Nov 14, 2016 · 8 comments
Open

How to do when two way factor enabled? #1

rameshT108 opened this issue Nov 14, 2016 · 8 comments
Labels

Comments

@rameshT108
Copy link

No description provided.

@tmyroadctfig
Copy link
Owner

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:

StatusLine statusLine = iCloudService.getIdmsaService().authenticateViaIdmsa(username, password);

@rameshT108
Copy link
Author

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?

@tmyroadctfig
Copy link
Owner

To get backups you need to use this project:
https://github.com/horrorho/InflatableDonkey

@rameshT108
Copy link
Author

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)

@rameshT108
Copy link
Author

Please help me . I'm in deep search

@tmyroadctfig
Copy link
Owner

You'll need to provide a bit more info on what you're doing. Can you send over a code snippet or something?

@briesanji
Copy link

I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized

1 similar comment
@vipinbeni
Copy link

I get same error.. Failed to verify code: HTTP/1.1 401 Unauthorized

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants