goauthentik / goauthentik/authentik
TOTP setup flow/ stage gives oddly formatted url
- Dominant language
- Python
- Stars
- 25.6k
- Forks
- 2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 644
Description
**Describe the bug**
A clear and concise description of what the bug is.
TOTP setup flow/stage gives a QR which if your'e on mobile, obviously you cant scan your screen so you have to click "copy" and the link you get is a weirdly formatted link that isn't clickable or useful in any way other than to paste somewhere so you can edit out the actual code to past in authenticator. it would be nice if i could just straight up get the code when i click copy. it would make a lot of signups eaiser
**To Reproduce**
Steps to reproduce the behavior:
1. Setup 2FA with authentik
2. create new user
3. 2FA required, choose TOTP
4. TOTP enrollment copy button gives weirdly formatted HTML safe non useful link.
**Expected behavior**
A clear and concise description of what you expected to happen.
TOTP would give just the TOTP code so i can copypasta to google authenticator and authy
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Logs**
Output of docker-compose logs or kubectl logs respectively
**Version and Deployment (please complete the following information):**
- authentik version: 2025.2.0
- Deployment: docker
**Additional context**
I personally know how to get the code from the URL but a lot of my users aren't getting that so i'd like to just give them the code so i dont have to disable required 2FA. Some authenticator apps know how to handle the oddly formatted URL. Would it be possible to just have the secret passed along or change this setting somehow?
Contributor guide
Assessment
This issue has not been assessed yet.