[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時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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
-
Remove the template README in src/flash_read対応中かも @AnushreeKasturi が今日担当しました。 オープンdocumentation good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
pablolambo/FlashRead#15 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信
-
type-enhancement web-js-interop
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
lichess-org/mobile#3838 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
aaronified/fluenough#466 ·
メンテナーはふだん 1 日以内に返信