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


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
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

Cloudron Forum

Apps | Demo | Docs | Install

Enable 2FA TOTP Provider App

Scheduled Pinned Locked Moved Nextcloud
6 Posts 3 Posters 278 Views
    • 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 & OpenSource Lover. My Cloudron Apps

    girishG necrevistonnezrN 2 Replies Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to nj 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
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    replied to nj 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
  • girishG Offline
    girishG Offline
    girish Staff
    replied to necrevistonnezr 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
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    replied to girish 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
  • girishG Offline
    girishG Offline
    girish Staff
    replied to necrevistonnezr on last edited by
    #6

    @necrevistonnezr Ah gotcha, I misunderstood your original post.

    1 Reply Last reply
    1

  • Login

  • Don't have an account? Register

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