You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up two factor authentication, a QR code is shown to be scanned with TOTP device:
This is sufficient for all users that setup their token generator devices with a camera-enabled device, e.g. a mobile application in Android or iOS or with a hardware token that has a built-in camera.
For all other users that need to flash a hardware token without a camera or that use software like KeePassXC, the otpauth:// is required in plain text. Of course one could scan the QR code to extract the URL, but that is kind of clumsy.
As an example, LinOTP (a software that we use internally for managing general MFA tokens) allows for displaying the token information as both a otpauth:// as well as a seed:// URI:
Adding something like that to SeaHub as well to support advanced enrollment scenarios seems like not a big change.
I did a little proof of concept by adding a line in
When setting up two factor authentication, a QR code is shown to be scanned with TOTP device:
This is sufficient for all users that setup their token generator devices with a camera-enabled device, e.g. a mobile application in Android or iOS or with a hardware token that has a built-in camera.
For all other users that need to flash a hardware token without a camera or that use software like KeePassXC, the
otpauth://
is required in plain text. Of course one could scan the QR code to extract the URL, but that is kind of clumsy.As an example, LinOTP (a software that we use internally for managing general MFA tokens) allows for displaying the token information as both a
otpauth://
as well as aseed://
URI:Adding something like that to SeaHub as well to support advanced enrollment scenarios seems like not a big change.
I did a little proof of concept by adding a line in
seahub/seahub/two_factor/views/core.py
Line 178 in 79448fe
to:
and then including that URL in the two factor setup template
seahub/seahub/two_factor/templates/two_factor/core/setup.html
Line 20 in 7be2a06
As a result, the
otpauth://
URL is displayed alongside the QR code:Do you think something like that would be feasible? It would really improve enrollment workflows when a camera-enabled device is not an option.
The text was updated successfully, but these errors were encountered: