Can't login in iCloud3

Hi, I am trying to add my Apple account to iCloud3 without success.
I installed the integration and went to “configure”, I attempt to add my account and get the following error:

At the same time I receive on my Apple devices the 6-digit code for 2FA but I cannot enter it even if I click on the appropriate entry as I get another error:

I removed the integration and downloaded it again, restarted Home Assistant, no change. What am I doing wrong?

Thank you!!