FormidableLabs / FormidableLabs/react-native-app-auth

[iOS] Universal link not working as redirect URI

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

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

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.