FormidableLabs / FormidableLabs/react-native-app-auth

Authorization window does not open when using AppClip

Open
#927 1 comment 0 reactions 0 assignees View on GitHub
needs-triage
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

## Issue

I'm running the following method inside a hook:

`const authState = await authorize(config);`

When running in AppClip, the confirmation alert before opening the browser window shows up, but when clicking on "Continue", nothing happens.

When running the same code in a non-clip app, it does work.

Are there any reported issues related to AppClip?

I have debugged in the object-c code itself, and the line `openedUserAgent = [authenticationVC start];` (in the file OIDExternalAgentIOS.m) gets called, but eventually nothing happens.

---

## Environment

* **Your Identity Provider**: `Keyclock`
* **Platform that you're experiencing the issue on**: `iOS`
* **Your `react-native` Version**: `e.g. 0.66.5`
* **Your `react-native-app-auth` Version**: `7.1.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.