FormidableLabs / FormidableLabs/react-native-app-auth
Failed to log in. Invalid origin uri android-app://{package_name}
- Lingua principale
- Java
- Stelle
- 2.3k
- Fork
- 473
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## Issue
Hi! Loving the library so far. I'm integrating with fushionauth with a react-native app, the problem only arises on android, iOS works nicely as far as I can tell. We can login into the app, do all our stuff inside and then logout, the problem appears when trying to login again without closing the app, when we try the following exception is displayed in an alert that we programmed:
What's really strange is that it let's us login the first time, and we can log out just fine. We can even close the app completely and login back again without issues, the problem only emerges once we logout and try to login again without closing the application.
We double checked the library guide on how to setup the android app and we have correctly setup the `appAuthRedirectShceme` inside the `android/app/build.gradle`:
```js
manifestPlaceholders = [
appAuthRedirectScheme: '{custom redirect scheme}' // From the redirectUrl in settings.js
]
```
Any help would be greatly appreciated!
---
## Environment
* **Your Identity Provider**: `fushionauth`
* **Platform that you're experiencing the issue on**: `Android`
* **Are you using Expo?** No 😄
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.