Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Bug]: Users enrolled through the mobile app can't connect to MFA locations and stay "Pending"

オープン
#331 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@filipslezaklab がすでに取り組んでいます。

2026年10月9日 から。

評価

この issue はまだ評価されていません。

説明

bug
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
  1. Create a location that requires MFA.
  2. In the admin panel, start enrollment for a new user.
  3. The user adds the instance in the Android app with the enrollment token.
  4. 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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DefGuard/mobile-client のほかの issue

DefGuard/mobile-client の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。