Azure AD Mobile Plugin - Err is not defined

Hello guys,


I’m a newbie in OutSystems and I’m trying to configure the Azure AD Mobile Plugin in a mobile app. The plugin was depreciated on Forge, but a cordova version is available on azure-activedirectory-library-for-cordova. So I only created a new plugin based on the older one and adapted with the new code available on cordova.

On the app, I can do the authentication thought Microsoft but when the access is redirected to the app we received the error “err is not defined”. I verified that the issue is on the client action ADALLogin on the Authentication that has the JS code below:

I tried to debug with the Chrome inspect but I have no clue about the issue. I checked and on Service Center don’t have any log or error. 

Can someone please shed some light on this?



Thank you in advance.

Are you still experiencing this issue?

Not sure if you noticed, but the notes for the deprecated component recommend using the IDP Mobile component instead:

https://www.outsystems.com/forge/component-overview/2044/idp-mobile