Having a basic auth in front of a self hosted bitwarden instance breaks the login completely.
(I have nginx reverse proxying to a bitwarden instance.)
I’m running version 2.1.1 and entering the password at the bitwarden login form gives me ‘Unexpected error has occured’ after getting through with the basic auth.
Bitwarden log says,
“No client with id '”
[basic_auth_user_name_typed]'" found. aborting
I tried to set the basic auth user name to the same login user as the bitwarden’s user but it still shows the error.
If I take the basic auth off, I can login fine.
I want to have a basic auth, so that anyone that might visit the domain will see nothing instead of a treasure box login screen.