[Bug]: Users enrolled through the mobile app can't connect to MFA locations and stay "Pending"
Los mantenedores suelen responder en 1 día
@filipslezaklab ya está trabajando en esto.
Desde el 9/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
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)
- Lenguaje dominante
- Dart
- Estrellas
- 8
- Forks
- 1
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 11
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DefGuard/mobile-client
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
DefGuard/mobile-client#329 ·
Los mantenedores suelen responder en 1 día
-
Hide the traffic policy if all-traffic was disabled by the adminPosiblemente ocupada @Va1ter la tomó hace 2 días. Abierto
DefGuard/mobile-client#330 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
DefGuard/mobile-client#328 ·
Los mantenedores suelen responder en 1 día
-
Fix iOS build pipelinePosiblemente ocupada @moubctez la tomó hace 4 días. Abierto
DefGuard/mobile-client#326 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Tunnel fails with "Bad address" when allowed IPs or DNS contain loopback addresses on AndroidAbiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
DefGuard/mobile-client#317 ·
Los mantenedores suelen responder en 1 día
Todos los issues de DefGuard/mobile-client
Issues similares
-
Remove the template README in src/flash_readPosiblemente ocupada @AnushreeKasturi la tomó hoy. Abiertodocumentation good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
pablolambo/FlashRead#15 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
aaronified/fluenough#466 ·
Los mantenedores suelen responder en 1 día
-
Concurrent sshnp/npt started in the same millisecond collide on per-session storage (lock failed)Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
atsign-foundation/noports#2986 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
difficulty: easy duration: small priority: medium type: bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
duobaseio/forui#1215 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
`toAbsoluteRect` and `canSee` are wrong for a child of an ancestor that is rotated by a non-right anglePosiblemente ocupada @ufrshubham la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
flame-engine/flame#4108 ·
Los mantenedores suelen responder en 1 día