nextcloud / twofactor_totp

🔑 Second factor TOTP (RFC 6238) provider for Nextcloud
https://apps.nextcloud.com/apps/twofactor_totp
GNU Affero General Public License v3.0
284 stars 58 forks source link

Problem with CalDAV auth #1457

Closed paltish-com closed 10 months ago

paltish-com commented 10 months ago

Steps to reproduce

  1. Connect iOS or MacOS to Calendar or task app
  2. After activation this app

Expected behaviour

System can't understading 2FA in this auth protocol

Actual behaviour

Tell us what happens instead

Server configuration

Not depend

Client configuration

CalDAV iOS or MacOS

ChristophWurst commented 10 months ago

Use app passwords

paltish-com commented 10 months ago

Hello, @ChristophWurst . I'm sure you haven't tried what I'm writing to you about. because I enter the password, and in general I have experience in troubleshooting. It's a pity that you closed the problem without understanding it. If you disable 2FA, the problem goes away. I hope this will be fixed someday, have a nice day.

ChristophWurst commented 10 months ago

If your login password can be used to access CalDAV data, what is the point of two-factor authentication?

What you describe as bug is a security feature.

See https://docs.nextcloud.com/server/latest/user_manual/en/user_2fa.html#using-client-applications-with-two-factor-authentication.

paltish-com commented 10 months ago

When you turn on application TOTP in profile-->security section, you are lost CalDAV connection. You have two ways to change the situation:

  1. Turn off TOTP plugin
  2. Create new app password in Devices & sessions section on security page. (It's not obvious)

But thanks for the answer. Have a good day.