Today I updated Umbrel to latest version 0.4.10 and after that I activated 2FA for Umbrel login.
I am using Yubico authenticator.
Activation went well but after logging out and trying to login again nothing happens after I input the 2FA numbers from the authenticator app. If I reload the page I get back to the input password page for Umbrel then back to 2FA auth and then nothing happens after inputting the new 2FA numbers.
I have restarted Umbrel and the also updated and restarted the Ubuntu 18.04 server its running on, no change.
Any suggestions for a fix or how to disable 2FA again?
Hey flowerpot28, sorry to hear that you’re having issues with the 2FA. I’ve seen this happen once before, and it was actually an issue with the browser:
Alternatively, if you really just want to kill 2fa and start over, if you can ssh in, this command will delete 2fa (it deletes a otpURI parameter in user.json which stores your 2fa):
json_file=“/home/umbrel/umbrel/db/user.json” && contents=“$(jq ‘del(.otpUri)’ ${json_file})” && echo “${contents}” > ${json_file}
i am getting this error can someone correct this
-bash: command substitution: line 17: syntax error near unexpected token (' -bash: command substitution: line 17: jq ‘del(.otpUri)’ ${json_file})"’
Hi!,
My umbrel will not 2FA. I would like to SSH and delete the @FA usig the JSON command. However. How do I log into the PI using SSH. Total Noob, Sorry. Thanks in advance for your help.
I figured SSH out now im getting this response
json_file="/home/umbrel/umbrel/db/user.json" && contents="$(jq ‘del(.otpUri)’ ${json_file})" && echo “${contents}” > ${json_file}: permission denied
Thanks for the response. I was able to research and find out i needed to use a ssh command that gave me permission; sudo. This allowed me to delete to 2fa script! Works great now!
2FA problem still occurs using Chrome v117.0.5938.132 and Umbrel v0.5.4. Click first number plus Enter button as a workaround is still good thankfully. Any new insights on how to resolve this permanently?