core icon indicating copy to clipboard operation
core copied to clipboard

iCloud integration causes pin code requests on Apple devices.

Open JeroenTuinstra opened this issue 3 years ago • 71 comments

The problem

Apple iCloud integration causes pin code authentication on Apple devices. It used to just generate an email warning. With recent updates op home assistant to 2022.3.0 it now generates an authentication request. While the integrations is properly registered and does not request a pin code.

What version of Home Assistant Core has the issue?

core-2022.3.0

What was the last working version of Home Assistant Core?

core-2022.2.9

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Apple 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

JeroenTuinstra avatar Mar 02 '22 22:03 JeroenTuinstra

icloud documentation icloud source (message by IssueLinks)

Hey there @quentame, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (icloud) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

I'm having this same issue too. Since upgrading to version 2022.3.1

GazTheGeek avatar Mar 05 '22 09:03 GazTheGeek

Yup, same issue. Very annoying. Deactivated integration for now.

Drun555 avatar Mar 05 '22 11:03 Drun555

Note for others: After disabling the integration, you need to restart HA. Tried without and was still getting many signin prompts.

ZeddicPrime avatar Mar 05 '22 20:03 ZeddicPrime

Same issue and thanks for the tip about the restart, cause I disabled also and kept getting prompts still...!

FrancoLoco avatar Mar 09 '22 16:03 FrancoLoco

Same issue here

svaeyens avatar Mar 12 '22 22:03 svaeyens

Same issue here

mehdic avatar Mar 20 '22 02:03 mehdic

Same issue here

KruseLuds avatar Mar 20 '22 17:03 KruseLuds

Same issue here

DaveYYZ avatar Mar 21 '22 16:03 DaveYYZ

same...

Frucoboti avatar Mar 21 '22 21:03 Frucoboti

I too am having this problem. My account PW didn't work. I randomly decided to try just the 2fa code that pops up on my iphone and that, for some strange reason, worked!

ewelin34 avatar Mar 25 '22 16:03 ewelin34

I'm still getting this issue on 2022.3.8. I had to finally disable the integration. Is there anything the developers need here to help?

eamonnsullivan avatar Mar 30 '22 11:03 eamonnsullivan

I was able to fix this (I think) for me by following the troubleshooting advice in the docs. I removed my icloud folder in .storage and just reconfigured it. I think the issue is that it's not correctly showing us when we need to reconfigure any longer.

eamonnsullivan avatar Mar 30 '22 11:03 eamonnsullivan

@eamonnsullivan any issues since you deleted the folder in .storage? I had disabled this a while ago and am trying to decide if I should try this and turn it back on.

funkybunch avatar Apr 10 '22 03:04 funkybunch

I've been deleting the /config/.storage/iCloud folder and re-signing on with 2FA over and over again. I still get the notifications on my iOS devices every 20 minutes or so. I've had to delete the integration.

DaveYYZ avatar Apr 24 '22 01:04 DaveYYZ

Same

Le sam. 23 avr. 2022 à 21:24, DaveYYZ @.***> a écrit :

I've been deleting the /config/.storage/iCloud folder and re-signing on with 2FA over and over again. I still get the notifications on my iOS devices every 20 minutes or so. I've had to delete the integration.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/67510#issuecomment-1107680144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5DSUFIWLDAMB7MELLAMQTVGSPF7ANCNFSM5PYZ6ULA . You are receiving this because you commented.Message ID: @.***>

FrancoLoco avatar Apr 24 '22 01:04 FrancoLoco

I'm getting this again, and I'll need to do the same workaround again. It's definitely just not telling us when we have reconfigure the integration. This used to work. I'm surprised at the silence here, actually. Is this only happening to a small subset of users? I'm using the container version of HA.

eamonnsullivan avatar Apr 29 '22 12:04 eamonnsullivan

@eamonnsullivan any issues since you deleted the folder in .storage? I had disabled this a while ago and am trying to decide if I should try this and turn it back on.

The issue returned, approximately three weeks later, but the same workaround did the trick again. Again, probably temporarily.

eamonnsullivan avatar Apr 29 '22 12:04 eamonnsullivan

I’m using the Home Assistant blue and the apple integration is set to family. Deleting storage folder prevents integration from asking me to re-verify for about 25 minutes each time. It was just my phone and watch, I would be OK with it… But the Mrs. has other thoughts :-)

DaveYYZ avatar Apr 29 '22 12:04 DaveYYZ

Lol same

Le ven. 29 avr. 2022 à 08:41, DaveYYZ @.***> a écrit :

I’m using the Home Assistant blue and the apple integration is set to family. Deleting storage folder prevents integration from asking me to re-verify for about 25 minutes each time. It was just my phone and watch, I would be OK with it… But the Mrs. has other thoughts :-)

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/67510#issuecomment-1113267299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5DSUFQWTCSFEBJ5CGYH63VHPKIFANCNFSM5PYZ6ULA . You are receiving this because you commented.Message ID: @.***>

FrancoLoco avatar Apr 29 '22 13:04 FrancoLoco

Same problem here. HA 2022.4.7. I had this issue a few weeks ago then it was gone. No it is back. There is no way to enter apple's confirmation code.

Seidlabier avatar Apr 29 '22 18:04 Seidlabier

Ditto

gdgeist avatar May 04 '22 14:05 gdgeist

+1 icloud was working well then last night I had to restart the server and now every trick I try to login fails.

I've deleted the .storage/icloud folder, tried just the password, tried the password and generate confirmation code, nothing seems to be working allowing a valid login.

ewelin34 avatar May 06 '22 13:05 ewelin34

I too am having this issue. Same work around, not a permanent fix as it comes back. Latest version of HA.

lithium-ap avatar May 07 '22 01:05 lithium-ap

Same issue here. Was working find until update.

Edit: finally prompted for passcode and took it. Seems to be fine for now.

krbuck avatar May 07 '22 19:05 krbuck

ran into the same confusion and was flooded by pin code requests (~1 each 30 minutes). Deactivating the integration, deleting the icloud folder in .storage and restarting home assistant did the trick for me.

Would appreciate a fix to show that reconfigurtion is required

N3rdix avatar May 09 '22 08:05 N3rdix

Same problem here. Using latest version HA Core 2022.5.3.

danielsitnik avatar May 11 '22 02:05 danielsitnik

I've got the same issue on HA Core 2022.5.3 as well

nlhomme avatar May 12 '22 06:05 nlhomme

Same issue HA Core 2022.5.5

katanza12 avatar May 20 '22 06:05 katanza12