FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
2k stars 438 forks source link

Network error - service_configuration_fetch_error #745

Open pipocadr opened 2 years ago

pipocadr commented 2 years ago

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

Below is what my code looks like:

image image

And my Azure Url Redirect configuration on App Register:

image

Question: I need to put on property appAuthRedirectSchemethe 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

khenry10 commented 1 year ago

did you get this resolved? I'm getting an service_configuration_fetch_error with this package and android only

valery-lavrik commented 5 months ago

@pipocadr Добрый день! столкнулся с этой-же проблемой. Вы нашли решение?