FormidableLabs / FormidableLabs/react-native-app-auth

Network error - service_configuration_fetch_error

Open
#745 2 comments 1 reaction 0 assignees View on GitHub
help wanted needs-triage
Dominant language
Java
Stars
2.3k
Forks
473
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.