Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#331 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

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ả

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)

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DefGuard/mobile-client

Tất cả issue của DefGuard/mobile-client

Issue tương tự

Thêm issue về Dart

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.