-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
icloud integration is useless if you use security keys on your apple ID #30965
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
Comments
Hey there @Quentame, @nzapponi, mind taking a look at this feedback as it has been labeled with an integration ( Code owner commandsCode owners of
|
Just wanting to include an update: I can't use app-specific passwords with it either, as it still asks me for a otp code I have no way of providing. I'm pretty sure this is an apple-problem and not a home assistant problem but I wanted to at least give an update on this since it doesn't work with app-specific login. Which is ODD, I can sign in my icloud email address onto a linux mail client no problem and bypass the need for the otp code because it lets me insert my security code in the pop up window. Maybe if Evolution (mail client) can add that option in, then home assistant could as well at some point? That would be nice. |
+1 i get the "iCloud verification code" but the code doesn't show up on any of my apple device, nor mail or SMS, maybe homeassistant forgets to call something that triggers it? running: |
+1 no verification code received, security keys enabled, app-specific password doesn't work either. running the latest version. |
Also seeing this same behavior. |
+1 same situation as pavelhegr and lzthqx are describing |
The only possible way to do it for those with hardware security keys is to go and remove all security keys from your account, sign in with it as you will be getting your verification codes the normal way, and then once done and its signed in you will then want to add them back to your apple account. This is what I have had to do with other things apple-based, but with this I have not done it because I've already had to remove my keys like 5 times and I don't really like doing it a sixth nor do I feel like it given that the 4 I have mean I have two that are in difficult places to just go get for something like this. Apple really should modernize their apple services for those that have security keys because this type of thing is so annoying we are told to authenticate but not be able to. And I say this as a person that had to remove hardware security keys from my account while on an apple support call for homekit issues. They kept telling me to go to my icloud settings and click the generate verification code but the generation of a verification code is unavailable when you use security keys - which is ridiculous if they provide no way to login to certain things or anything. The support agent kept telling me well you should be able to generate the verification codes regardless, but the reality is that isn't the case, its missing from settings. Really dumb decision they made with their integration of hardware security keys. Who the heck advised that? Was a wonderful idea on their part... 🙄 Really just wondering if there is another way around this but for now I gave up on it as icloud isn't 100% needed but it would be nice either way...also removal of security keys I feel would be a short-term solution to having to do it again in the future for potential re-authentications... and so that turns me away even more from doing so.. |
I have 3 keys on my account and was prompted to allow and with security codes on trusted devices. No issues. Running iOS 17.5.1, dev beta |
Hello. I'm facing the same issue. Has anyone discovered a solution? I'm using version 17.5.1. |
the way i am fixing this is remove the integration and add it back, the entities are fine after re creating integration |
I've just talked to the Apple Service desk. They're confirming that the 2FA isn't in any way linked to the app specific passwords. Therefore the integration asking for 2FA is really irrelevant. Do note: When using my iCloud credentials, i'm still getting the 2FA pop-up's on all of my Apple devices. So there's no issue there. It just gets really annoying when the pop-up's keep popping up, and the emails are pouring in. |
Same problem here... |
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. |
It should still be relevant. I’ll check somewhere this week. I’ve currently disabled it. |
I still cannot login with app-specific password |
Still relevant. In fact the only way to use this at the moment is with my normal password and using the verification. |
Same problem here, cannot login with app-specific password |
Also here it does not work. Created an app-specific password at Apple, installed the plugin into HA and filled emailadres and the app-specific password. It tells me my credentials are incorrect... |
Same problem here. |
I found the workaround described here worked for me: It's a bit of a faf, as you first need to remove your security keys to fall-back to Apple's OTP, go through the motions described below, then re-add your security keys. I'm hoping that's it now. 🤞
|
Can confirm, @lintal 's workaround works for me also. |
Feedback
You guys don't have it included in the faq that only people without security keys on their account can add the icloud integration which honestly I figured would be an issue but yet the only thing that it says in the documentation is its possible to use with two factor authentication. Well, the security key is two factor authentication, its just using webauth. I think it would be a great addition to allow the login with my security key but home assistant clearly doesnt let that happen. I'm wondering if an app-specific password would work in its place like it does for icloud mail, but I guess I will try that. Please add in the security key support, honestly I am surprised that home assistant hasnt given us the ability to use them when signing into our home assistant server anyway, that would definitely increase the security by a lot, especially regarding nabucasa cloud..
URL
https://www.home-assistant.io/integrations/icloud/
Version
2024.1.5
Additional information
/

/
The text was updated successfully, but these errors were encountered: