I recently setup a self-hosted instance of Bitwarden using the official documentation. Everything is working great, except for my yubikey.
Whenever I add the variables (retrieved from Yubico API key signup) to my global.override.env file, I receive a “failed to fetch” error when trying to access my web vault. I can still lock/unlock and login/logout from the iOS app and Chrome extension, but cannot get into my vault. Since I cannot access my vault, I cannot “complete” the yubikey setup to add the key to my account.
Attempting to add the yubikey without configuring the variables leads to a “Key1 is invalid” error from the vault.
I tried setting up the yubikey with my non-self-hosted bitwarden account and it works fine, accepts my key and logging in with it via the app and my web vault functions normally.
Any ideas as to why I am unable to configure this properly for my self-hosted instance?
Any help is much appreciated!