[Bug]: Users enrolled through the mobile app can't connect to MFA locations and stay "Pending"
维护者通常 1 天内回复
@filipslezaklab 已经在做这个了。
开始于 2026年10月9日。
评估
这个 Issue 还没有评估数据。
描述
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)
- 主要语言
- Dart
- 星标
- 8
- 派生
- 1
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 11
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DefGuard/mobile-client 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
DefGuard/mobile-client#329 ·
维护者通常 1 天内回复
-
Hide the traffic policy if all-traffic was disabled by the admin可能已有人在做 @Va1ter 于 3 天前认领。 未关闭
DefGuard/mobile-client#330 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 48/100
DefGuard/mobile-client#328 ·
维护者通常 1 天内回复
-
Fix iOS build pipeline可能已有人在做 @moubctez 于 5 天前认领。 未关闭
DefGuard/mobile-client#326 · 已指派 1 人 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 55/100
DefGuard/mobile-client#317 ·
维护者通常 1 天内回复
查看 DefGuard/mobile-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
epam/dmtools-dart#385 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
first-timers-only good first issue
难度 2/5 1-3 小时 新手友好度 88/100
Raza-learner/Runmote#11 ·
-
backlog:medium bug
难度 2/5 1-3 小时 新手友好度 82/100
simonoppowa/OpenNutriTracker#1349 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
aaronified/fluenough#480 ·
维护者通常 1 天内回复