Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Include server name in 2FA TOTP issuer #1016

Closed
lsago opened this issue Jan 30, 2024 · 1 comment
Closed

[Feature Request] Include server name in 2FA TOTP issuer #1016

lsago opened this issue Jan 30, 2024 · 1 comment

Comments

@lsago
Copy link
Contributor

lsago commented Jan 30, 2024

Problem description

If a user accesses multiple vantage6 instances with two-factor authentication, the identifier for each TOTP code on their phone may look the same. It's always vantage6 (cotopaxi): username, so there's no easy way to distinguish the different servers unless they are running different major versions or the user has different usernames.

Desired solution
A way for the server administrator to give human identifiable name to the server that is used in the issuer for the TOTP. For example, something like: vantage6 (server_name): username, instead of the version.

Additional context
Some TOTP do allow you to change part of that string at least, but that implies the user should take an extra step.

@bartvanb
Copy link
Member

I guess it would make most sense to include a server_name as configuration option. I think we can put that information into the QR code easily. Alternatively, there is already the name configuration option that can be used directly, but that may not be a nice value always. Third option is to create a configuration option specifically for this in the mfa part of the configuration - but I don't think I prefer that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants