jupyterhub / jupyterhub/nativeauthenticator
Provide a QR code when signing up a new user with 2FA enabled
- Dominant language
- Python
- Stars
- 81
- Forks
- 68
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.