Yubico Environment Variable is not set

Hello. I’m running Bitwarden as a docker container on my unRAID server. Everything works fine, but today I attempted to add 2FA using a Yubikey. I get the following error;

An error has occurred.
environment variable is not set.
yubikey OTP disabled

I checked the admin interface and enable Yubico is set to true.

Does anyone know what I’m missing?


It sounds like you haven’t put the correct globalSettings__yubico__clientId= and globalSettings__yubico__key= values into ./bwdata/env/global.override.env

From memory, I think you need to get them from the Yubikey website.