FormidableLabs / FormidableLabs/react-native-app-auth
Issue on iOS when redirecting back to the redirect_uri with the ?code parameter attached
- 主要言語
- Java
- スター
- 2.3k
- フォーク
- 473
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## 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
コントリビューションガイド
調査の方向性
Spotify を使用して iOS 上のリダイレクトフローを schema://path?code=123 と schema://path/?code=123 の両方で再現し、Android の動作と比較する。react-native-app-auth 7.1.3 と react-native 0.73.6 のセットアップにおける iOS のリダイレクト処理を追跡する。末尾のスラッシュを含む形式で認証が完了するか、画面が停止したままにならずにエラーが報告されれば完了とする。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- ios, react-native
- 領域
- authentication, mobile
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100