AzureAD/azure-activedirectory-library-for-android

AuthenticationSettings.getBrokerPackageName() returns wrong value

Opened this issue · 1 comments

Expected behavior
AuthenticationSettings.INSTANCE.getBrokerPackageName() should return the package name of the app which ADAL is using as a broker.

Actual behavior
AuthenticationSettings.INSTANCE.getBrokerPackageName() always returns com.microsoft.windowsintune.companyportal, even if no broker app is installed.

Reproducible on ADAL 1.16.3

This likely cannot change for back-compat reasons; current implementation appears to be a few years old