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

Provide a QR code when signing up a new user with 2FA enabled #155

Open
consideRatio opened this issue Oct 15, 2021 · 0 comments
Open

Provide a QR code when signing up a new user with 2FA enabled #155

consideRatio opened this issue Oct 15, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@consideRatio
Copy link
Member

consideRatio commented Oct 15, 2021

It becomes quite a bit easier to not need to write in a code for 2FA, but instead scan a QR code. It would be great if we could display such QR code instead of just providing the code in letters and numbers after sign up.

Practically, we should not try to generate images or similar, but instead have some JS to generate what's needed for us based on the letters and numbers in the code we want to represent.


A quick google provided me with this HTML/CSS/JS with input fields to generate a QR code, what we would need is a function to generate a QR code based on the: domain name, user name, and the 2FA secret generated for the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants