-
-
Notifications
You must be signed in to change notification settings - Fork 28.8k
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 - unable to authenticate #94950
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 |
I also have authentication issues with the iCloud Plugin in Home Assistant. I can input my password for my account, which then verifies and should generate a security code on my iPhone. That it does not. So HomeAssistant is waiting for a security code, which I am not receiving from Apple. I've also tried using an app password, but for some reason that too triggers the security code prompt (which this shouldn't by the way). |
I'm getting same result to Thierry. I first thought there's something wrong with security key option enabled in iCloud, but I think it's not. |
I'm on a later version: Weird enough, my icloud connection had been working fine with a app specific password for a long time and all of a sudden it went crazy and started to send icloud verification/verification code over and over and over. I had to disable then delete the entire integration for it to finally stop. I waited 24 hours, generated a new password added the integration and tried to authenticate using the password -- it accepts the password but then asks for a "iCloud verification code" which never prompt on my devices. I tried deleting the .storage/icloud and restarting HA. I don't have any yaml code for apple or icloud so it's all in the integration. |
Exactly the same issue I have |
I’ve also deleted anything relating to iCloud from .storage folder… |
Same issue, won't accept re-authentication. Has this integration been vacated? |
The issue is still present with the latest Home Assistant release 2023.8.0... Can we give you more details to help fix this issue? |
… I’m having the same issue! |
Having same issue, any ideas? |
Just FYI -- it's the "application password" that seems to be broken. If you use your regular account and password it seems to work. |
And... I've tried again after coming back home from vacations and it works again! I think it was fixed by the awesome Home Assistant team between 2023.8.0 and 2023.8.4, if you have this issue too, can you try again and tell us if it's fixed for you too? |
For me it was going haywire again with MFA on my phone every half hour. Rebooting HA seemed to work to solve this. Definitely some strange behavior still..
Sent from Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: Pierre ***@***.***>
Sent: Wednesday, August 30, 2023 12:13:25 PM
To: home-assistant/core ***@***.***>
Cc: ThierryVos ***@***.***>; Comment ***@***.***>
Subject: Re: [home-assistant/core] iCloud Integration - unable to authenticate (Issue #94950)
And... I've tried again after coming back home from vacations and it works again!
I think it was fixed by the awesome Home Assistant team between 2023.8.0 and 2023.8.4, if you have this issue too, can you try again and tell us if it's fixed for you too?
—
Reply to this email directly, view it on GitHub<#94950 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ADDRFR3SH6YJU2SQWIIR2T3XX4G4LANCNFSM6AAAAAAZOJK6ME>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Yeah, still not working. Re-enabling sends an authentication verification to iphone, but nothing related required with the integration, just a password (which one time, I entered a fake password and it was still accepted). This integration is just not reliable any longer. I'd venture to say it is Apple's fault (security/privacy stuff?), but who knows. |
Same issue for me :( |
Same here. A week ago I installed it for the first time and everything works. Yesterday I had to change my AppleID password because I got a strange message from Apple. Afterwards I couldn't authenticate anymore. Neither reinstallation of the integration nor deletion of the iCloud folder in configuration/.storage worked for me. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
This should either be a bug or enhancement depending on if the original design was to allow static passwords. If you generate a static "application" password from icloud so that the password rotation isn't a problem the integration fails to authenticate (or it continues to ask for the verification code) which is not required when using the application password. |
Doesnt work for me. Get the auth notification, but no code from apple |
For my part, it's been working pretty well since the end of August. Roughly once a month, it asks me to authenticate again, if I try right away it doesn't work, but if I do a red restart, not yellow, (see screenshot below), it asks me for my password, then a verification code that arrives on my phone and if I enter both, the integration is functional again. Can you try with a "red" restart if you have still this issue? |
Still not working April 2024 - asking for password, when given asking for code from apple that never comes… |
The problem
Integration worked fine. When needing to re-authenticate it won't accept new app specific password with the enclosed error.
![Screenshot 2023-06-21 at 08 02 53](https://private-user-images.githubusercontent.com/16319499/247460907-9f3b31d9-2567-4327-9f93-7cbf69a7e830.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyMzU3NDUsIm5iZiI6MTcxOTIzNTQ0NSwicGF0aCI6Ii8xNjMxOTQ5OS8yNDc0NjA5MDctOWYzYjMxZDktMjU2Ny00MzI3LTlmOTMtN2NiZjY5YTdlODMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDEzMjQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzNmExYWNjODU3YTExMmQ2NDVlOGZmNDZjZTgwODYyN2UyMDkwZjQ2ZGRiM2JiODk5Mjc3Y2U0YTJiMTA5ZmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SPcNkE-CysBKXbsNYhlMtOyszrD94ius08RvgW9RYkM)
![Screenshot 2023-06-21 at 08 01 04](https://private-user-images.githubusercontent.com/16319499/247460916-4ce0460b-2f50-4f42-a358-12bec196d3d1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkyMzU3NDUsIm5iZiI6MTcxOTIzNTQ0NSwicGF0aCI6Ii8xNjMxOTQ5OS8yNDc0NjA5MTYtNGNlMDQ2MGItMmY1MC00ZjQyLWEzNTgtMTJiZWMxOTZkM2QxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI0VDEzMjQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhZGRjMjEzZGFlYmVkMDlmMTdlZDU4MjQ0NWE5YTIwOTdjNjU4ZDc3YWJhNWQyMDM4NzJlOGM3YmQ5N2I4YzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.K3H-_nj-Xc7m8WsOzellwVnKnlHsI97omMOT2pK8Z10)
What version of Home Assistant Core has the issue?
Home Assistant 2023.6.2 Supervisor 2023.06.2 Operating System 10.3 Frontend 20230608.0 - latest
What was the last working version of Home Assistant Core?
core-2023.6.2
What type of installation are you running?
Home Assistant OS
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: