FormidableLabs / FormidableLabs/react-native-app-auth
Issue on iOS when redirecting back to the redirect_uri with the ?code parameter attached
- Vorherrschende Sprache
- Java
- Sterne
- 2.3k
- Forks
- 473
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
## Issue
There is a weird behaviour when the redirect_uri attached code parameter is not of the format "schema://path?code=123" but "schema://path/?code=123" (notice the appended "/" between "path" and "?code=".
While on Android everything works fine, on iOS nothing happens anymore - the screen seem to get stuck. Even no error is raised. Took me quite a while to figure this out.
---
## Environment
* **Your Identity Provider**: `Spotify`
* **Platform that you're experiencing the issue on**: `iOS`
* **Your `react-native` Version**: `0.73.6`
* **Your `react-native-app-auth` Version**: `7.1.3`
* **Are you using Expo?** No
Beitragsleitfaden
Rechercherichtung
Den Redirect-Ablauf auf iOS mit Spotify sowohl mit schema://path?code=123 als auch mit schema://path/?code=123 reproduzieren und ihn mit dem Verhalten auf Android vergleichen. Die iOS-Redirect-Behandlung für das Setup mit react-native-app-auth 7.1.3 und react-native 0.73.6 nachverfolgen; abgeschlossen ist die Untersuchung, wenn die Form mit abschließendem Schrägstrich die Authentifizierung abschließt oder einen Fehler meldet, anstatt dass der Bildschirm hängen bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, react-native
- Bereich
- authentication, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100