Solved Bitwarden 2FA
-
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
-
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"
-
cool. i will try it.
-
Let us know if it works and then I will put a section in the app docs for it.
-
BAM! It works like a charm.
-
Put the notes at https://cloudron.io/documentation/apps/bitwardenrs/#yubikey