Tuesday, 9 February 2021

MsalClientException the calling app is not supported by broker

Hello all I implemented this lib in my project :

microsoft-authentication-library-for-android

This works fine except in a few devices where it crashes on the initialization part :

    PublicClientApplication.createMultipleAccountPublicClientApplication(activity.getBaseContext(),
                R.raw.msal_config,
                new IPublicClientApplication.IMultipleAccountApplicationCreatedListener() {
                    @Override
                    public void onCreated(IMultipleAccountPublicClientApplication application) {
*** not reaching
}

                    @Override
                    public void onError(MsalException exception) {
                        //Log Exception Here
                        showAlert(exception.toString()); //<- error

                    }
                });

and prints the exception :

MsalClientException: The calling app is not supported by the broker

Anyone who can shed some light on this issue ?



from MsalClientException the calling app is not supported by broker

No comments:

Post a Comment