Hi,
I signed up for a free icloud account. I can log in and see the pictures and files I have there.
When I try to log in via a browser I get an SMS code sent to my phone. I also receive an email from Apple letting me know that I have successfully logged in.
When I run rclone Apple lets me know via email that I have logged in via a browser even though I have not successfully completed the rclone 2fa.
Every time I try and re-establish my rclone remote even though I have not completed the two-factor Authentication I get an email from Apple saying that I was successfully logged in Via a web browser even though I really wasn’t.
“Your Apple Account was used to sign in to iCloud via a web browser.”
“
| Dear Joe Schmo, |
|---|
| Your Apple Account (schmojoe@email.com) was used to sign in to iCloud via a web browser. |
| Date and Time: September 4, 2025, 12:07 PM PDT” |
HERE is what the attempt looks like with DEBUG -vv enabled:
C:\Users\king>rclone -vv --user-agent="MyCloud" config reconnect dkicloud:
2025/09/04 20:13:40 DEBUG : rclone: Version "v1.71.0" starting with parameters ["rclone" "-vv" "--user-agent=MyCloud" "config" "reconnect" "dkicloud:"]
2025/09/04 20:13:40 DEBUG : Using config file from "C:\Users\king\AppData\Roaming\rclone\rclone.conf"
2025/09/04 20:13:40 DEBUG : dkicloud: config in: state="", result=""
2025/09/04 20:13:40 DEBUG : icloud: Authenticating as schmo@gmail.com
2025/09/04 20:13:41 DEBUG : Saving config "cookies" in section "dkicloud" of the config file
2025/09/04 20:13:41 DEBUG : Keeping previous permissions for config file: -rw-rw-rw-
2025/09/04 20:13:41 DEBUG : dkicloud: config out: out=&{State:2fa_do Option: OAuth: Error: Result:}, err=
2025/09/04 20:13:41 DEBUG : dkicloud: config: reading config parameter "config_2fa"
Option config_2fa.
Two-factor authentication: please enter your 2FA code
Enter a value.
config_2fa>
My phone never receives an SMS with the code the way it does when using a browser.