Network error when MS endpoints are available #1547
Labels
Enhancement
This is a feature request to add functionality that is not currently supported
Issue Triage
The engineering team has looked into the issue, understood the issue, labelled/classified the issue
Hi Adal community!
I'm facing a strange behaviour with an Android app I'm developing.
Basically my app connects to an access point through WiFi (without internet) and I've a scenario in which device has not a mobile network available.
In this scenario my access point has whitelisted all Microsoft endpoints in order to give the possibility to user to login (via AcquireTokenInteractive Request).
Using Android < 10 everything is OK (connection to WiFi is made programmatically) because network is saved to system level, troubles start when using Android 10.
I'm notice that
HttpUtil.throwIfNetworkNotAvailable
usesDefaultConnectionService.isConnectionAvailable()
that usesgetActiveNetworkInfo()
to check connectivity status but it's deprecated and this check for Android 10 always fails.I'm stuck because I'm able to perform login via interactive login but this connectivity check is blocking my flow.
I've tested removing this check and then binded process to network and it's working.
There are a better way to fix this or I've to implement this skip manually?
e.g:
acquireToken
The text was updated successfully, but these errors were encountered: