FormidableLabs / FormidableLabs/react-native-app-auth

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

Abierto
#969 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
2.3k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproducir el flujo de redirección en iOS con Spotify usando tanto schema://path?code=123 como schema://path/?code=123, comparándolo con el comportamiento en Android. Rastrear el manejo de la redirección en iOS para la configuración con react-native-app-auth 7.1.3 y react-native 0.73.6; se considera completado cuando la forma con la barra final completa la autenticación o informa de un error, en lugar de dejar la pantalla bloqueada.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
ios, react-native
Área
authentication, mobile
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.