Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Microsoft.ADAL.Authentication #199

Open
ajberry opened this issue Aug 1, 2018 · 0 comments
Open

Microsoft.ADAL.Authentication #199

ajberry opened this issue Aug 1, 2018 · 0 comments

Comments

@ajberry
Copy link

ajberry commented Aug 1, 2018

Thank you so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Issue Description

Trying to use the following code:
Microsoft.ADAL.AuthenticationSettings.setLogLevel(3).then(() => {
console.log("Successfully set log level");
Microsoft.ADAL.AuthenticationSettings.setLogger(function (logItem) {
console.log(JSON.stringify(logItem, null, 2));
});
}, (err) => {
console.log("Couldn't set log level");
})

0x800a138f - JavaScript runtime error: Unable to get property 'AuthenticationSettings' of undefined or null reference

So it seems the Microsoft.ADAL reference is NULL. We have recently updated the VS version, cordova versiona nd plugin versions to get the looging working. A colleague has it all working and checked in the code, but I now cannot get it to work.

I've tried
uninstalling and reinstalling the plugins.
removing and readding the windows platform
clearing the cordova cache

Repro Environment Details

  1. Installed plugin version: 0.10.1
  2. Target Platform: Windows 10
  3. Cordova and platform versions: 7.0.0
  4. Test device and OS version: Windows 10 Desktop x64
  5. Are you using Cordova from command line or special Cordova IDE: VS 2017 15.7.5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant