FormidableLabs / FormidableLabs/react-native-app-auth

Issue on iOS when redirecting back to the redirect_uri with the ?code parameter attached

Open
#969 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.