FormidableLabs / FormidableLabs/react-native-app-auth

Network error - service_configuration_fetch_error

Aperta
#745 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
help wanted needs-triage
Lingua principale
Java
Stelle
2.3k
Fork
473
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Issue

Hi Folks,

My app is being used by about 300 users and we are getting a lot of complaints about problems logging into Microsoft using MFA.

After receiving the SMS and adding the code, the user confirms on the consent screen to be redirected back to the app but often he goes back to the Microsoft Login page.

The problem can be solved palliatively by clearing the cache of the Chrome app.

I put some logs on my AppCenter:

![image](https://user-images.githubusercontent.com/1215749/175546560-3a2f7941-3962-43de-a6d6-53d2a2692584.png)

Below is what my code looks like:

![image](https://user-images.githubusercontent.com/1215749/175546947-6023edb6-cec5-4b05-a2af-fd9f11a2c114.png)
![image](https://user-images.githubusercontent.com/1215749/175546991-a5f30584-823e-469e-b40f-b2fedeaf2a7a.png)

And my Azure Url Redirect configuration on App Register:

![image](https://user-images.githubusercontent.com/1215749/175547685-cabee11a-8342-4197-9e97-be5f679cd61d.png)

**Question**:
I need to put on property `appAuthRedirectScheme `the same name of my bundleId? Or can I put any custom string?

And

What could be the problem on `service_configuration_fetch_error`?

I aprreciate any help!
---

## Environment

* **Your Identity Provider**: `Azure`
* **Platform that you're experiencing the issue on**: `Android`
* **Are you using Expo?**: `No`
* **React Native Version**: `0.66.4`
* **React Native App Auth Version**: `6.4.0`

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando la configurazione del reindirizzamento Android per appAuthRedirectScheme e l'URL di reindirizzamento di Azure App Registration, quindi confrontale con i log service_configuration_fetch_error mostrati in AppCenter. Usa come contesto le versioni indicate React Native 0.66.4 e React Native App Auth 6.4.0; il lavoro è completato quando viene identificato se lo schema di reindirizzamento o un'altra configurazione causa il ritorno di MFA alla pagina di accesso.

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

Valutazione

Stack tecnologico
android, azure, react-native
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

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.