iCloud binding, authentication problem

FWIW, I find the 5.0.4.202512191545 binding works but seems to be slow to load. After an OH restart I have to wait several minutes after all other Things have come ONLINE, then I Disable/Enable the account or Save the account. At this point the iCloud Account goes ONLINE and no additional 2FA is required

I’m currently using 5.0.4.202512191545 and still have the same issue.

UPDATE: after countless restarts, dis- and enabling the bridge thing, resetting my icloud password, suddenly a 2FA popup appeared and I was able to login again!

Thanks for the hint. After using the latest version its working fine again.

1 Like

Hello everybody, is there a plan having a OH 4 compatible version of the fixed binding? Would be very much appreciated.

I can only encourage you to upgrade to 5.1.0. I myself hesitated a very long time (approx. 2 years) and kept on OH 3.4.6 because i feared compatibility issues. But at the end there is no alternative to regular upgrades because many binding updates happen on the actual version. Recent examples have been the iCloud binding and the Amazon Echo Control binding.

At the end, it was much easier for me than i assumed. But don’t punish me, if you will make a different experience :slightly_smiling_face: .

By the way: OH 5 is the best OH i experienced within the last 10 years.

1 Like

Last few days it doesn’t work again. I get “CONFIGURATION_ERROR
Request https://idmsa.apple.com/appleauth/auth/signin/complete?isRememberMeEnabled=true failed with 503.” in iCloud bridge configuration. My version is 5.1.0. Any ideas?

Same here - it was working until a few hour ago and now I’m also receiving the error 503.

Same here - Version 5.1.0 worked few days, since ~3 days it’ doesn’t work again. Binding and Thing re-installation/creation doesn’t solve the problem

I think opening up a ticket (like this one: [iCloud] account thing won't login after openhab restart · Issue #17590 · openhab/openhab-addons · GitHub) is the best approach. I think @maihacke is more active on GitHub than here.

I haven’t encountered the issue, but I assume that’s because I haven’t restarted openHAB yet.

1 Like

In the meantime i have restarted several times and today i have updated from OH 5.2.0-SNAPSHOT #5051 to OH 5.2.0-SNAPSHOT #5090 (latest).

Everything works out as expected without any error.

After the upgrade to OH5.1.1, I had to re-enter the 2FA, but after that, the connection remained, also after restarts.

However, after every restart, the icloud:device Thing is OFFLINE, needing a manual “reboot”, after which it works. So there’s a hiccup somewhere in the startup process, I think?

Hi, as it seems there is no fix of the issue yet, I have some info / clues that might help to identify the error. After some back and forth testing, clearing of cache and tmp and re-installing the latest binding, I managed to get 1 of two accounts working. I have two accounts setup in my system, my wide and mine to be able to implement some location based automation. It worked for most of the time but stopped working 2-3 months abo. Strange is, that both accounts are configured exactly the same but only mine still gives me that error:

Request https://idmsa.apple.com/appleauth/auth/signin/complete?isRememberMeEnabled=true failed with 401.

My OpenHaAB version is 5.1.0 Main UI Commit 69bf7f37