wrobins / cordova-plugin-msal

Use the newest Microsoft MSAL library in your Cordova-based project!
Apache License 2.0
23 stars 63 forks source link

brokerRedirectUri #52

Closed jeffortdev closed 3 years ago

jeffortdev commented 3 years ago

Hi, I set brokerRedirectUri to true, but nothing happened, the success nor fail callbacks did not trigger. if it is set to false, everything works fine.

I installed the plugin as indicated.

Here are my options authorities: [ { type: 'AAD', audience: 'AzureADMyOrg', authorityUrl: '', cloudInstance: 'MSALAzurePublicCloudInstance', default: true } ], prompt: 'SELECT_ACCOUNT', authorizationUserAgent: 'WEBVIEW', accountMode: 'SINGLE', brokerRedirectUri: true, scopes: [ 'openid', 'profile' ]

I had set up my application on Azure portal and installed MSAuthenticator on my Android device as well.

jeffortdev commented 3 years ago

Closing this, turns out setting brokerRedirectUri wont work on debug and app should be wrapped by Intune wrapper.

marutifh commented 3 years ago

Hi @jeffortdev Can you please help me in understand how to wrap app by Intune wrapper?

jeffortdev commented 3 years ago

Hi @jeffortdev Can you please help me in understand how to wrap app by Intune wrapper?

sorry for late reply, you can checkout the wrapper here https://github.com/msintuneappsdk/intune-app-wrapping-tool-ios then have documentation there explaining that