TOTP with newest versions of NextCloud

Hello. Apologies if this question has been asked before.

I am trying to setup 2FA with NextCloud. I want to use TOTP. I can enable 2FA and I can’t seem to figure out how to configure TOTP. There is no QR code and no option do to this. What am I doing wrong?

Navigate to the security tab of the personal settings and hit the checkbox beside “Enable TOTP”

OR

enforce Twofactor Authentication, then you can choose to setup TOTP the next time you log in.

hth.


Much and good luck,
ernolf

There is no check box.

Now I can’t even login. twofactor authentication is set to false in config.php

Is the app enabled?

What is the output of

occ app:list --shipped=true --enabled | grep totp

ernolf

output is nothing/null

I assume this means that the totp app is not installed. I had/have tried to install it but it does not seem to be compatible with version 29.

Thanks for you help

Max.

Max Abramowitz

No, that is not right. The TOTP App is a shipped app, that means that it is pre installed and always compatible with the Nextcloud Version you are running.

But you have to enable it:

  • Either in the Appstore:
    klick on your Profile Image in the upper right corner and choose
    Apps → Disabled apps
    and enable “Two-Factor TOTP Provider”
  • or on the command line:
    occ app:enable twofactor_totp
    

hth.


Much and good luck,
ernolf

1 Like

That was the issue.
Thank you for your help!

Max.

2 Likes

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.