How to configure TOTP? #826
Replies: 2 comments 8 replies
-
|
There's not much documentation on it because I really don't know anything about it either, so definitely a good idea to start a discussion. For starters, I think it just needs to be a secure string, something like this should work. Personally, I use this to generate a safe string that's secure enough. And the same is true for onlyoffice secret as well, I believe its just a random string as well. However, I tell people to use the onlyoffice container to generate a secret, since I am not sure. I will wait a while for others to chime in before updating the docs -- I'm no expert on this, perhaps there's better ways to do this. |
Beta Was this translation helpful? Give feedback.
-
|
Testing this I just noticed, be very careful about setting this if users already have TOTP already set. They won't be able to login until another admin turns their TOTP back off and they generate a new one. (or until you unset the totpSecret back to blank) Which makes me think changing the totpSecret should reset all existing totp configurations (or just turning it off if not enforced) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not seeing a whole lot of documentation on this. So I figured I'd start a discussion before opening an issue.
I've specified an auth.totpSecret in my config, just a randomized 32char string, is there something specific I should be using?
I'm currently only using password auth and trying to enable this for my admin user. Headed into the user config page, enabled the 'two-factor auth' toggle, then clicked on 'reset and generate new two-factor code'. I'm presented with a QR code, however none of the qr reader apps I've tried will read it. I tried adding it directly to bitwarden via it's app, tried scanning with the default camera app to manually retrieve and add the code, tried 4 or 5 random QR reader apps from the app store; it's a broken/unreadable qr code.
V0.7.10-beta
Beta Was this translation helpful? Give feedback.
All reactions