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

    Solved Bitwarden 2FA

    Vaultwarden
    2
    6
    1211
    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.
    • luckow
      luckow translator last edited by luckow

      Trying to activate 2FA for YubiKey:

      `YUBICO_CLIENT_ID` or `YUBICO_SECRET_KEY` environment variable is not set. Yubikey OTP Disabled
      

      It seems that we need more variables in the .env environment.

      https://github.com/dani-garcia/bitwarden_rs/wiki/Enabling-Yubikey-OTP-authentication

      Pronouns: he/him | Primary language: German

      1 Reply Last reply Reply Quote 0
      • nebulon
        nebulon Staff last edited by

        You can just add them to /app/data/config.env and the app will pick them up. In this case add something like:

        export YUBICO_CLIENT_ID="clientId"
        export YUBICO_SECRET_KEY="secretKey"
        
        1 Reply Last reply Reply Quote 1
        • luckow
          luckow translator last edited by

          cool. i will try it.

          Pronouns: he/him | Primary language: German

          1 Reply Last reply Reply Quote 0
          • nebulon
            nebulon Staff last edited by

            Let us know if it works and then I will put a section in the app docs for it.

            1 Reply Last reply Reply Quote 0
            • luckow
              luckow translator last edited by

              BAM! It works like a charm.

              Pronouns: he/him | Primary language: German

              1 Reply Last reply Reply Quote 1
              • nebulon
                nebulon Staff last edited by

                Put the notes at https://cloudron.io/documentation/apps/bitwardenrs/#yubikey

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