Problem with two factor authentication

Hi there!
When I tried to connect to my icloud account that has two factor auth activated I get the Problem, that apple told me after a while that there is a security problem with my account and I had to change my password.
The docs here say that two factor auth is supported. What do I have to do, so that everything works fine.
Wouldn’t it be better to have app specific passwords (which are not supported for the time being)?
Regards, Jürgen.

Hi,

You need to get a 2 factor code and add it on the end of your password.

Regards

Mike