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. 2FAuth
  3. Caution : cloudron portal in 2Fauth

Caution : cloudron portal in 2Fauth

Scheduled Pinned Locked Moved 2FAuth
3 Posts 2 Posters 535 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.
  • timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #1

    Sharing a small gotcha.
    2FAuth had a funny 5 minutes
    No idea why
    It forced me to login back in, but I was using OpenID to log in with my cloudron portal user.
    But that is protected by TOTP ... which I had moved from Authy into 2FAuth ... which I couldn't get (on desktop or phone) because I was logged out.
    Stuck in a loop.
    I moved the Cloudron TOTP to Bitwarden, so I won't be stuck in a loop.
    So some caution to other Cloudron users using TOTP for their logins, maybe better to store that not in 2FAuth.

    Maybe it would be a 'nice to have' for Cloudron to support multiple TOTP, as some services do. But it's not important enough to be a Feature Request, so just posting this 'public service announcement'.

    1 Reply Last reply
    2
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #2

      Totp codes depend on a seed value that you store in 2fauth (or any other totp generator). So technically Cloudron does not need to support two totp apps, you can just add the same seed value to multiple apps. In 2fauth you need to use the "advanced form", choose "TOTP", input your "secret" and select 6 digits. Then 2fauth will display the same totp value as e.g. Vaultwarden does.

      What kind of prevents me from using 2fauth is that I am just directly logged in with my Cloudron user. Which means in case I forget to log out of my Cloudron dashboard, someone could just go and get my 2fa without any additional barrier. I think I much rather keep my codes in Vaultwarden, which times out and uses a different password/auth method than my Cloudron.

      timconsidineT 1 Reply Last reply
      5
      • fbartelsF fbartels

        Totp codes depend on a seed value that you store in 2fauth (or any other totp generator). So technically Cloudron does not need to support two totp apps, you can just add the same seed value to multiple apps. In 2fauth you need to use the "advanced form", choose "TOTP", input your "secret" and select 6 digits. Then 2fauth will display the same totp value as e.g. Vaultwarden does.

        What kind of prevents me from using 2fauth is that I am just directly logged in with my Cloudron user. Which means in case I forget to log out of my Cloudron dashboard, someone could just go and get my 2fa without any additional barrier. I think I much rather keep my codes in Vaultwarden, which times out and uses a different password/auth method than my Cloudron.

        timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by
        #3

        @fbartels thanks for the clarification 👍

        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