-
Notifications
You must be signed in to change notification settings - Fork 108
FAQ
-
If I call AcquireTokenByRefreshToken(), the UserInfo in AuthenticationResult is always null. This doesn’t happen if I call AcquireToken(), in which case UserInfo is provided for Azure Active Directory authorities.
The token service does not pass the user information from the token endpoint, when using a refresh token to obtain a new access token. The only reason why AcquireToken works fine in this case is that AcquireToken leverages the cached UserInfo already associated with the refresh token. In general, we recommend using AcquireToken only, as the method will leverage automatically the cache (either the last access token if still valid or using the available refresh token), while AcquireTokenByRefreshToken is a manual approach. -
How do I debug and capture fiddler trace or any other network track to debug Android AuthN issues?
Please follow the instructions here: https://github.com/AzureAD/azure-activedirectory-library-for-android#network-traces
- Error Handling
- Auth Telemetry
- Logging
- Doze and App Standby
- ProGuard
- Session Cookies in WebView
- Resource Overrides