How to use CalDav URL with two-factor auth?

Nextcloud version: 20.0.5

I have my user account protected with two-factor auth.

But I would also like to use the Calendar with Windows 10 Calendar app via the CalDAV url. But there I get no access since it only uses account/password login.

Is there some “app login” for this purpose?

yes go to security and generate an app password then login with your username and your generatet app password

Found the option on a second look at that page