bitte-ein-bit / MMM-iCloud-Client

MIT License
26 stars 3 forks source link

MMM-iCloud-Client not working when having apple's 2factor authentication #8

Open Tagriel opened 5 years ago

Tagriel commented 5 years ago

Hi Guys,

I'm trying to fetch info around my calendar in iCloud, and when I try to get it, I get the typical prompt message on my iPhone that a device on my location is trying to access my apple account, when I click on "allow" (on my iPhone) it gives me a code and there's nowhere to put that 6 digit number on the code to allow access.

Do anyone knows if this is an issue or am I doing something wrong?

Thanks!

Tagriel commented 5 years ago

I've found the solution!!!!

Is on this thread https://github.com/bitte-ein-bit/MMM-iCloud-Client/issues/7

This is the solution: If you use two-factor authentication with devices running older OS versions—like an Apple TV (2nd or 3rd generation)—you might be asked to add your six-digit verification code to the end of your password when signing in. Get your verification code from a trusted device running iOS 9 and later or OS X El Capitan and later, or have it sent to your trusted phone number. Then type your password followed by the six-digit verification code directly into the password field.

dh1201 commented 5 years ago

I can confirm that this option works! Thanks for finding it; Needed to add 2FA over the weekend (only way to link other projects I'm working on) but until I saw your post was stuck on how to fix MM.

xadamxk commented 5 years ago

@Tagriel A bit late to the party, but an alternative solution would be to create a passphrase (https://appleid.apple.com/) and label it 'MMM-iCloud', then use the code it gives you as the password.

thatstheplace commented 4 years ago

Is this still running for you? No matter I take my password + the six-digit verification code or an app specific password, it says login failed.

Beginner88888 commented 1 year ago

Hey, can anyone please tell me how is the correct configuration ??

{ module: 'MMM-iCloud-Client', config: { username: "appleID", password: "password", countrycode: "49", } },

I created a passphrase for the module in my apple Account, but where should it be put in?