[Bug]: Users enrolled through the mobile app can't connect to MFA locations and stay "Pending"
I maintainer di solito rispondono entro 1 giorno
@filipslezaklab ci sta già lavorando.
Dal 9/10/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary
When a user enrolls with the Android app, the app only registers the device. It never asks them to set a password or set up MFA, and it never completes enrollment on the server. As a result:
- The user can't connect to any location that requires MFA, because they have no MFA method and the app gives them no way to add one.
- The user stays "Pending" in the admin users list.
The only workaround is for someone to log in to the web UI as the user and enable MFA there, and for the admin to clear the "Pending" status in the database.
Steps to reproduce
- Create a location that requires MFA.
- In the admin panel, start enrollment for a new user.
- The user adds the instance in the Android app with the enrollment token.
- The user tries to connect to the MFA location.
Expected behavior
The app takes unenrolled users through the rest of enrollment (password, MFA setup if a location requires it, activation), the same way the desktop client does. Afterwards the user can connect to MFA locations and shows as "Enrolled".
Actual behavior
The connection fails because the user has no MFA method configured. The user also stays "Pending" in the users list.
Defguard version
Core/Gw/Edge: 2.1, Mobile client: 1.7.0
Environment details
Core/Gw/Edge: Debian 13, Mobile client: Android 16
Deployment / install method
Docker / Docker Compose
Relevant logs / output
Relevant configuration (redacted)
- Lingua principale
- Dart
- Stelle
- 8
- Fork
- 1
- Merge medio
- 1g 22h
- PR unite (30g)
- 11
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DefGuard/mobile-client
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
DefGuard/mobile-client#329 ·
I maintainer di solito rispondono entro 1 giorno
-
Hide the traffic policy if all-traffic was disabled by the adminForse già presa @Va1ter l’ha presa 3 giorni fa. Aperta
DefGuard/mobile-client#330 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
DefGuard/mobile-client#328 ·
I maintainer di solito rispondono entro 1 giorno
-
Fix iOS build pipelineForse già presa @moubctez l’ha presa 5 giorni fa. Aperta
DefGuard/mobile-client#326 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Tunnel fails with "Bad address" when allowed IPs or DNS contain loopback addresses on AndroidApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
DefGuard/mobile-client#317 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DefGuard/mobile-client
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
epam/dmtools-dart#385 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
first-timers-only good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Raza-learner/Runmote#11 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
fossasia/badgemagic-app#1991 ·
I maintainer di solito rispondono entro 1 giorno
-
backlog:medium bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
simonoppowa/OpenNutriTracker#1349 ·
I maintainer di solito rispondono entro 1 giorno