[Azure AD Mobile Plugin] Error with testing Azure AD Mobile plugin

Forge Component
(7)
Published on 2019-01-16 by Pedro Costa
7 votes
Published on 2019-01-16 by Pedro Costa

Hi I followed the instructions for configuration and also the solution provide here.

I created a test mobile app with the login flow below


When I test this app on my Android device I can't login and get this error below in ServiceCenter.

Can anyone tell me what the cause of this is?


Cannot assign a JavaScript object with value Error: Fail to valid authority with errors: [50049] to an output parameter of type Text Check the JavaScript node 'Authenticate' of the action 'ADALLogin'.
Environment InformationeSpaceVer: Id=1739, PubId=0, CompiledWith=11.0.607.0
RequestUrl: https://*************/TestMobileApp/moduleservices/log?clientTimeInMillis=1573743054221 (Method: POST)
AppDomain: /LM/W3SVC/1/ROOT/TestMobileApp-265-132182119771735465
FilePath: C:\...\PS\running\TestMobileApp.1298325873\
ClientIp: 172.16.2.118
DeviceUUID: ***************
Locale: en-US
DateFormat: dd-MM-yyyy
PID: 8592 ('w3wp', Started='11/6/2019 10:50:09 AM', Priv=1539Mb, Virt=2107995Mb)
TID: 25
Thread Name:
.NET: 4.0.30319.42000
NetworkType: WIFI
AppVersionCode: 1
NativeShell: 5.1.13
DeviceUUID: **************
AppVersionName: 0.1
DeviceModel: SQ51CW
OperatingSystem: Android 7.1.2
NetworkStatus: Online
Cordova: 8.0.0
Client-Side Log
Stack:
InvalidJavascriptType: Cannot assign a JavaScript object with value Error: Fail to valid authority with errors: [50049] to an output parameter of type Text Check the JavaScript node 'Authenticate' of the action 'ADALLogin'.
    at u (https://****************/TestMobileApp/scripts/OutSystems.js?rtZ3zI4kwkj_X7T0xT9+gQ:8:11737)
    at Object.a [as from] (https://gsapps-o.royallemkes.nl/TestMobileApp/scripts/OutSystems.js?rtZ3zI4kwkj_X7T0xT9+gQ:8:9503)
    at https://******************/TestMobileApp/scripts/ADALPlugin.controller.js?vdE1h2fRPqSCWlmdrDC7EQ:51:71
    at https://*****************/TestMobileApp/scripts/OutSystems.js?rtZ3zI4kwkj_X7T0xT9+gQ:11:978