Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Enable 2FA TOTP Provider App

    Nextcloud
    3
    6
    236
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nj
      nj last edited by

      Today I enforced 2FA for everyone on Nextcloud; unfortunately, nobody was able to log in. Cloudron's Nextcloud package does not come with support for 2FA with TOTP, which requires a separate Nextcloud app. Cloudron developers don't recommend manually installing and updating Nextcloud apps, so I think this app should be included by default, like other apps. Please enlighten me if I'm missing something here.

      Here's the app: https://apps.nextcloud.com/apps/twofactor_totp

      Founder & OpenSource Lover. My Cloudron Apps

      girish necrevistonnezr 2 Replies Last reply Reply Quote 0
      • girish
        girish Staff @nj last edited by

        @nj Can you clarify why nobody can login after you enforced 2FA? The upstream app doesn't work? If so, how would packaging it as part of Cloudron solve the issue?

        I didn't realize TOTP is an app in nextcloud, seems quite extreme to put security stuff as an app.

        1 Reply Last reply Reply Quote 0
        • necrevistonnezr
          necrevistonnezr @nj last edited by

          @nj
          I might be wrong but I think each user has to enable and configure TOTP before you can enforce it. Did each user do that?
          Otherwise, there is some help here: https://help.nextcloud.com/t/administrator-account-locked-out-due-to-2fa-enforcement/43306
          Please note that the Two Factor Admin app mentioned in the thread before (see https://apps.nextcloud.com/apps/twofactor_admin) only works for MySQL (see https://github.com/ChristophWurst/twofactor_admin/issues/35) , Cloudron however uses PostgreSQL for Nextcloud...

          girish 1 Reply Last reply Reply Quote 3
          • girish
            girish Staff @necrevistonnezr last edited by

            I think the app in question is https://github.com/nextcloud/twofactor_totp and afaict it does support postgresql.

            necrevistonnezr 1 Reply Last reply Reply Quote 0
            • necrevistonnezr
              necrevistonnezr @girish last edited by necrevistonnezr

              @girish said in Enable 2FA TOTP Provider App:

              I think the app in question is https://github.com/nextcloud/twofactor_totp and afaict it does support postgresql.

              Yes, indeed.
              The app I mentioned is a complimentary app for admins generating a one time code for users who are locked out of a TOTP protected account. It was mentioned in the support thread I cited as a solution. This complimentary app supports MySQL only.

              girish 1 Reply Last reply Reply Quote 2
              • girish
                girish Staff @necrevistonnezr last edited by

                @necrevistonnezr Ah gotcha, I misunderstood your original post.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post
                Powered by NodeBB