FormidableLabs / FormidableLabs/react-native-app-auth

Bug Report: WebAuthenticationSession Disappears After Login, Preventing Password Save,AutoFill

Aperta
#1,068 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
2.3k
Fork
473
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Description:
When using WebAuthenticationSession for authentication on a device or simulator, the session abruptly disappears immediately after the user successfully logs in. This behavior prevents the user from being able to use the "Save Password" feature, which should allow the password to be stored for future logins.

**Steps to Reproduce:**
Launch the app and initiate a login flow using WebAuthenticationSession.

On the initial login, enter a valid email and password.

After successful authentication, the WebAuthenticationSession session abruptly closes without giving the user an option to save their password.

The user cannot use the "Save Password" feature because the session closes unexpectedly.

**Expected Behavior:**
The WebAuthenticationSession should remain active after a successful login, providing the user with the option to save their password for future logins.

**Actual Behavior:**
The WebAuthenticationSession closes abruptly right after login, making it impossible for the user to save their password.

**Environment:**
iOS Version: [Include version, e.g., iOS 16.x]

Xcode Version: [Include version, e.g., Xcode 14.x]

Simulator/Device Model: [Include model, e.g., iPhone 13]

Swift Version: [Include version, e.g., Swift 5.7]

App Version: [Include version]

**Additional Information:**
This issue occurs on both physical devices and simulators.

The issue appears specifically during the initial login. If the user tries to log in again, they are not prompted with the "Save Password" feature.

This issue is not related to the authentication backend but to the session management on the client side.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando il flusso WebAuthenticationSession lato client iOS in react-native-app-auth e confronta il percorso di completamento del primo accesso con il comportamento segnalato per il salvataggio della password. Riproducilo su un dispositivo o simulatore, registrando le versioni indicate di iOS, Xcode, Swift, modello e app; il lavoro è completato quando un accesso riuscito lascia disponibile Save Password senza compromettere l’autenticazione successiva.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ios, react-native, swift
Ambito
authentication, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
28/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.