-
-
Notifications
You must be signed in to change notification settings - Fork 32k
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
iCloud integration stopped working (due to Apple SRP-6a implementation) #128830
Comments
Hey there @Quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) icloud documentation |
follow |
having this issue as well - following |
Same. Following. |
same here |
same |
A reminder to everyone that GitHub does have a "subscribe" feature you can use to follow this issue, and if you add a 👍 to the original post there'll be an easy count of people experiencing the same issue 😄 |
👍 Same issue |
stesso identico problema |
👍 |
welp |
Same Problem |
To avoid excessive notifications for everyone subscribed, please do not comment if you have the same issue. The owner is already informed. Instead, consider liking the original post and subscribing to updates. |
Same issue here. |
I too am having this issue. Whilst I know it is being worked on, is there a workaround as I have automations that rely on my Iphone and they do not currently work. |
👍 |
The problem is still present. |
Same problem. Reverting to 2024.10.1 did not fix it. |
Same issue |
This is a change in iCloud’s authentication method, so reverting wouldn’t fix this. The integration needs to be adjusted to be able to use apples new authentication mechanism. |
same here |
Same. Core version 2024.10.2 |
Same issue here -;( |
Check the fix for pyicloud at picklepete/pyicloud#456 for base.py |
Same here. Yes, I'm using application specific password... Logs are reporting: Logger: homeassistant.components.icloud.config_flow Error logging into iCloud service: ('Invalid authentication token.', PyiCloudAPIResponseException('Missing apple_id field')) |
Here an updated custom install, this includes changes pending merge in PyCloud. |
not working for me... even the normal icloud doesnt work... I arrived to the page of the 6digit code but i never receive it... same issue to anyone? |
I have the same issue I can provide a App Specific Password then it asks for a code put Apple is authenticating by sending a popup on my devices (did you initiate this login?) with just a yes or wasnt me response (no code) I select this but cant proceed any further I am assuming the integration needs to support alternative mfa techniques apple are using. |
Please note App Specific Password are not supported |
I'm using the latest ZIP file and unfortunately, I can't get it to work. It throws the following error when I try to add the integration:
|
|
still no working in latest HA update |
Will there come a future update that provides app specific password again? It worked before but stopped working againb after last update to 2024.12. |
any updates? |
Mine has quit working also. With the 2024.12 release. Are they working on a 2025 fix for this? I have automations that look for me being home or not home to control locks and lights. And my locks and lights keep going on and off all the time had to disable the automations. |
Same issue here |
A new maintainer of https://pypi.org/project/pyicloud/ has made a request to take over the project, pending approval. |
If I read that correctly, the new maintainer has a fork of pyicloud which already has a fix for the authentication issue. |
It started again for me just a few days ago. I don't get the six digit code from Apple to finish signing in with the app specific password. |
Also getting code from apple again without the integration asking to be reconfigured? |
I deleted out the integration rebooted and then reinstalled the integration and I’m back up. Hope this helps someone. |
@PaulCavill Any news to be the new maintainer? I would really really like to get this working again, but unfortunately dont have the coding skillset to do it myself :( |
with normal pwd it working for me... with specifica pwd not... |
Following @Destroyer061090's comment, i tried setting up the integration using my regular password, and boop, it asked for the 2FA verification code, and then it worked. data is being pulled in and is being updated. I dont know how long it will work before asking for a new 2FA code, but I'll update here if it does. |
@WollfWizard I have been doing this from the off. However, I will regularly now receive an alert from Apple to say my ID has been signed in to on a web browser. Obviously I can put up with that, but it would mean that I am not as aware about a "true" security breach on my profile since I will likely assume it is just from this integration. Having the app-specific passwords back up and running would negate this. I have experienced similar issues on the CalDav integration for apple calendars as well. |
@WollfWizard new maintainer has a preview release im currently testing, and is seem to be working. |
Did you want to write more here? Can I install the preview directly in HA? |
idem - pour suivre |
The problem
The iCloud integration fix recently merged to support App Passwords relies on a one-time login with the 'regular' password and MFA prompt. However, Apple has updated their side and now require Secure Remote Password protocol which is currently not supported by
PyiCloud
. As a result the iCloud integration no longer works.BTW, it is already reported in the PyiCloud repo.
I opened this issue because the App Password issue was closed when the mentioned fix was merged.
What version of Home Assistant Core has the issue?
core-2024.10.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
iCloud
Link to integration documentation on our website
https://www.home-assistant.io/integrations/icloud
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: