FormidableLabs / FormidableLabs/react-native-app-auth

Authorization window does not open when using AppClip

Aperta
#927 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
needs-triage
Lingua principale
Java
Stelle
2.3k
Fork
473
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riprodurre il flusso AppClip dall’hook authorize(config) usando le versioni indicate di iOS e react-native-app-auth. Iniziare in OIDExternalAgentIOS.m dalla chiamata openedUserAgent = [authenticationVC start] e tracciare il motivo per cui Continue non apre il browser. Il lavoro è completato quando la finestra di autorizzazione si apre correttamente in un AppClip e il flusso non-clip continua a funzionare.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
ios, objective-c, react-native
Ambito
authentication, mobile
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.