azure-android-sdk

Authenticate the user on Azure AD using ADAL library from Android native app

二次信任 提交于 2019-12-31 02:26:08
问题 We have a requirement where users should signin from Native apps(Android, iOS) without invoking Microsoft login web view window from the app. We have the sample code that demonstrates non-interactive authentication to Azure AD using a username & password from the .net console application. https://github.com/Azure-Samples/active-directory-dotnet-native-headless sample code: AuthenticationResult result = null; authContext = new AuthenticationContext(authority, new FileCache()); string userName

Error while processing request in AzureMobile Apps HTTP2 error

半城伤御伤魂 提交于 2019-12-13 04:00:27
问题 This question is specific to a lately strange behavior of the Azure mobile Apps Android sdk. Everything was working fine for weeks. Now, my android client app suddenly can't connect to my web app any more. A Toast says "Error while processing request". In Android Studio debugger, I found the exception inside the SDK file MobileServiceConnection.java. java.io.IOException: stream was reset: PROTOCOL_ERROR In Azure Portal, my app shows "Healthy" status, but I can see the HTTP errors. Please help