FormidableLabs / FormidableLabs/react-native-app-auth

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

Offen
#1,068 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
2.3k
Forks
473
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den clientseitigen iOS-WebAuthenticationSession-Ablauf in react-native-app-auth nachzuverfolgen, und vergleiche den Abschlussweg der ersten Anmeldung mit dem gemeldeten Verhalten beim Speichern des Passworts. Reproduziere das Problem auf einem Gerät oder Simulator und dokumentiere dabei die aufgeführten Versionen von iOS, Xcode, Swift, Modell und App; abgeschlossen, wenn nach einer erfolgreichen Anmeldung Save Password verfügbar bleibt, ohne die spätere Authentifizierung zu beeinträchtigen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
ios, react-native, swift
Bereich
authentication, mobile
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

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