FormidableLabs / FormidableLabs/react-native-app-auth

Network error - service_configuration_fetch_error

Abierto
#745 2 comentarios 1 reacción 0 asignados Ver en GitHub
help wanted needs-triage
Lenguaje dominante
Java
Estrellas
2.3k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza revisando la configuración de redirección de Android para appAuthRedirectScheme y la URL de redirección de Azure App Registration, y luego compáralas con los logs service_configuration_fetch_error mostrados en AppCenter. Usa como contexto las versiones indicadas React Native 0.66.4 y React Native App Auth 6.4.0; el trabajo estará terminado cuando se identifique si el esquema de redirección u otra configuración provoca que MFA vuelva a la página de inicio de sesión.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, azure, react-native
Área
authentication, mobile
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.