[Bug]: Users enrolled through the mobile app can't connect to MFA locations and stay "Pending"
Maintainer thường phản hồi trong vòng 1 ngày
@filipslezaklab đang làm issue này rồi.
Từ ngày 9/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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)
- Ngôn ngữ chính
- Dart
- Star
- 8
- Fork
- 1
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DefGuard/mobile-client
-
Add loader to Disconnect button in the mobile appCó thể đã có người làm @filipslezaklab đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
DefGuard/mobile-client#329 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
DefGuard/mobile-client#334 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
DefGuard/mobile-client#333 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hide the traffic policy if all-traffic was disabled by the adminCó thể đã có người làm @filipslezaklab đã nhận hôm nay. Đang mở
DefGuard/mobile-client#330 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
DefGuard/mobile-client#328 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của DefGuard/mobile-client
Issue tương tự
-
discover
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
DevDogsUGA/DogPack#14 ·
-
direct-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
aaronified/fluenough#500 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug: native AES-CBC byte operations read mutated input after invocationCó thể đã có người làm @harrshita123 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
google/webcrypto.dart#436 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 7 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
openfoodfacts/smooth-app#7831 ·
Maintainer thường phản hồi trong vòng 1 ngày