-
Notifications
You must be signed in to change notification settings - Fork 108
DEVELOPER_BROKER_PERMISSIONS_MISSING
Before ADAL V1.12.0, for devices with Android M (SDK 23) and above, GET_ACCOUNTS
permission is required for the client app to use broker. In ADAL V1.12.0, bound service supported was added to remove requirement for GET_ACCOUNTS
permission when sending requests to broker.
ADAL error code DEVELOPER_BROKER_PERMISSIONS_MISSING
will happen for device with Android M or above who are using old ADAL (v1.11.0 and before) or old brokers which does not have bound service support.
To resolve this issue, the app could do either of the following a. Update the broker app to latest version and using latest ADAL version. (Recommended) b. Update AndroidManifest.xml file in your project to specify permissions for AccountManager.
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
Bear in mind, GET_ACCOUNTS
is considered a "protection level: dangerous", and as such requests run-time permissions.
- Error Handling
- Auth Telemetry
- Logging
- Doze and App Standby
- ProGuard
- Session Cookies in WebView
- Resource Overrides