Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Geschlossen
#331 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@filipslezaklab arbeitet bereits daran.

Seit 09.10.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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)

Vorherrschende Sprache
Dart
Sterne
8
Forks
1
Ø Merge
16 Std. 39 Min.
Gemergte PRs (30 T.)
14

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus DefGuard/mobile-client

Alle Issues in DefGuard/mobile-client

Ähnliche Issues

Weitere Issues zu Dart

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.