Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#331 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@filipslezaklab ci sta già lavorando.

Dal 9/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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)

Lingua principale
Dart
Stelle
8
Fork
1
Merge medio
1g 22h
PR unite (30g)
11

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DefGuard/mobile-client

Tutte le issue di DefGuard/mobile-client

Issue simili

Altre issue su Dart

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.