Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#331 1 条评论 0 个 reaction 已指派 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 小时
30 天内合并 PR
11

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

DefGuard/mobile-client 的其他 Issue

查看 DefGuard/mobile-client 的全部 Issue

相似的 Issue

更多 Dart Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。