FormidableLabs / FormidableLabs/react-native-app-auth
The operation couldn’t be completed. (org.openid.appauth.general error -3.)
- Lingua principale
- Java
- Stelle
- 2.3k
- Fork
- 473
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Issue
I have not reproduced the issue on dev/qa environments. Everything that I know from end-user report, app runs webflow and fails immediately after the successful login on the server that
```
Error The operation couldn’t be completed. (org.openid.appauth.general error -3.)
node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:104:6
node_modules/react-native-app-auth/index.js:187:9
App/Login.tsx:76:42
node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:45:44 tryCatch
node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:271:30
node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:45:44 tryCatch
node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:135:28 invoke
node_modules/@babel/runtime/node_modules/regenerator-runtime/runtime.js:145:19
node_modules/promise/setimmediate/core.js:37:14 tryCallOne
node_modules/promise/setimmediate/core.js:123:25
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:135:6 _callTimer
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:183:17 _callImmediatesPass
node_modules/react-native/Libraries/Core/Timers/JSTimers.js:446:11 callImmediates
[native code] callImmediates
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:396:11 value
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:144:11
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:373:8 value
node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:143:17 value
[native code] value
[native code] value
```
where `App/Login.tsx:76:42 ` is
```
const loginResult = await authorize(cfg)
```
Looks like duplicate to https://github.com/FormidableLabs/react-native-app-auth/issues/388
Those errors started after RN upgrade to `0.62.1`. Before that app used `0.59.x` and no bugsnag reports are detected
---
## Environment
* **Your Identity Provider**: Custom InHouse OAuth Provider powered by Doorkeeper (https://github.com/doorkeeper-gem/doorkeeper)
* **Platform that you're experiencing the issue on**: iOS (I have not tried on Android)
* **Are you using Expo?**: No
```
"react-native": "0.62.1",
"react-native-app-auth": "5.1.2",
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da App/Login.tsx alla riga 76 e dal percorso della chiamata a react-native-app-auth in node_modules/react-native-app-auth/index.js:187; confronta il problema su iOS con l’issue #388 usando React Native 0.62.1 e react-native-app-auth 5.1.2. Il lavoro è completato quando viene riprodotto l’errore successivo al login oppure viene documentato il motivo per cui non è possibile riprodurlo e se questa issue è un duplicato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react-native, typescript
- Ambito
- authentication, mobile
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100