FormidableLabs / FormidableLabs/react-native-app-auth

[iOS] Universal link not working as redirect URI

Ouverte
#987 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
2.3k
Forks
473
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

## Issue

Hi,

I am facing the problem that my https redirect URI is not working when using the normal authentication through the browser popup window. However, if I set the customBrowser to Safari, it works. This will open up the Safari browser in a external window. After swichting back to the popup window it works, but only for a limited time. After some time the Universal links stop working (Properly because the associated domains are cached somehow?). I have the feeling the apple app site association file is not loaded correctly, when the external browser is not opened once.

The use of the external (or default web browser) variant is not accepted by Apple App Review anymore, because of bad user experience.

If anyone could solve this problem, please contact me!

Thanks!
---

## Environment
Keycloak
* **Platform that you're experiencing the issue on**: `iOS`
* **Your `react-native` Version**: `e.g. 0.72.1`
* **Your `react-native-app-auth` Version**: `e.g. 7.0.0`
* **Are you using Expo?**
no

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le flux de redirection HTTPS de Keycloak dans react-native-app-auth sur iOS, en comparant la fenêtre contextuelle normale du navigateur avec Safari et en vérifiant le comportement de Universal Links et de Apple App Site Association décrit dans l’issue. Le travail est considéré comme terminé lorsque la redirect URI fonctionne de manière fiable depuis la fenêtre contextuelle sans nécessiter de navigateur externe ; le rapport ne nomme aucun fichier ni aucun test.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
ios, react-native
Domaine
authentication, mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.