twofactor_totp icon indicating copy to clipboard operation
twofactor_totp copied to clipboard

When you disable the app, it stills needs backup codes to login

Open Trebor87 opened this issue 7 months ago • 3 comments

I disabled the app as I wanted it to regenerate the qr code for my Yubikey

But it still asks for the backup codes and without them you cannot log in, so it seems there is no way to disable this APP completely

Running Nextcloud Hub 10 (31.0.7) in Docker Compose setup on Debian

Trebor87 avatar Sep 05 '25 11:09 Trebor87

Thank you for the report

https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/two_factor-auth.html#disabling-two-factor-authentication should help

You have to clean up the registration state after disabling the app. There is very likely also an error in your logs saying that providers are missing.

ChristophWurst avatar Sep 05 '25 12:09 ChristophWurst

Thanks for getting back so quickly, I managed to clean that up (thanks to chatGPT), as I hadn't seen the page you linked to.
I would like to enable it again, but I want it to regenerate the QR code fir a fresh start as mine has an incorrect name in Yubikey , but it doesn't do so, how to get ti generate the QR code again?

Trebor87 avatar Sep 05 '25 14:09 Trebor87

What name are you referring to?

ChristophWurst avatar Oct 15 '25 15:10 ChristophWurst