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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Enable 2FA TOTP Provider App

Enable 2FA TOTP Provider App

Scheduled Pinned Locked Moved Nextcloud
6 Posts 3 Posters 992 Views 2 Watching
  • 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.
    • njN Offline
      njN Offline
      nj
      wrote on last edited by
      #1

      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 / Coder • My Apps

      girishG necrevistonnezrN 2 Replies Last reply
      0
      • njN nj

        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

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @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
        0
        • njN nj

          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

          necrevistonnezrN Offline
          necrevistonnezrN Offline
          necrevistonnezr
          wrote on last edited by
          #3

          @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...

          girishG 1 Reply Last reply
          3
          • necrevistonnezrN necrevistonnezr

            @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...

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #4

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

            necrevistonnezrN 1 Reply Last reply
            0
            • girishG girish

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

              necrevistonnezrN Offline
              necrevistonnezrN Offline
              necrevistonnezr
              wrote on last edited by necrevistonnezr
              #5

              @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.

              girishG 1 Reply Last reply
              2
              • necrevistonnezrN 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.

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @necrevistonnezr Ah gotcha, I misunderstood your original post.

                1 Reply Last reply
                1
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search