Comments (2)
I think the reason is that you call loginSilently before plugin has been initialized/loaded. You could use deviceready
event to ensure plugins are loaded:
https://cordova.apache.org/docs/en/6.x/cordova/events/events.deviceready.html
Or bootstrap your angular app after this event is fired: http://stackoverflow.com/a/21556421
from azure-activedirectory-library-for-cordova.
Thanks a lot! Didn't realize this could be the issue,was searching for solution in the wrong direction. With the links you gave I was able to solve it. So happy it works now:)
<body>
<ion-nav-view></ion-nav-view>
<!-- manually bootstrap AngularJS with Cordova/PhoneGap/Ionic,
to be sure that lpugins are ready
Note: removed the ng-app from the html body
See: http://stackoverflow.com/questions/21556090/cordova-angularjs-device-ready/21556421#21556421 -->
<script>
window.ionic.Platform.ready(function () {
angular.bootstrap(document, ['appAAD']);
});
</script>
</body>
from azure-activedirectory-library-for-cordova.
Related Issues (20)
- Adal not working in windows UWP app (release mode)
- Microsoft CRM on-Premise log in HOT 1
- Unable to get logged in user mail ID
- Do anyone have alternative solution ? HOT 15
- Cannot read property 'constructor' of undefined HOT 1
- IOS12 App+The user is currently prompted for credentials as result of another acquireToken request. Please retry the acquireToken call later HOT 2
- (ADAL) integration with ionic getting “We are unable to issue tokens” , need to use v 2.0 HOT 1
- Back to my Android App. Ionic 4. Need help please. HOT 8
- requireCordovaModule should be changed to require
- iOS 13.2.3 ms adal not redirect on Microsoft sign in page HOT 1
- ms adal cordova plugin for ionic 4 not compatible with cordova 9.0 and ios 13.2 HOT 13
- msadal - acquireTokenSilentAsync doesn't works until "userId" is passed, even it is optional as per docs. HOT 5
- replace the UiWebView with the WkWebView HOT 1
- [iOS] [help Needed] [Objc] new ms-Adal HOT 8
- [IOS] Plugin not working with IOS 13 HOT 1
- iOS archive cordova-plugin-ms-adal-is-back capacitor HOT 4
- Not receiving role from the token response, as roles were declared from azure
- iOS archive cordova-plugin-ms-adal-is-back capacitor HOT 1
- Any capacitor alternative to this plugin?
- getting "ITMS-90809: Deprecated API Usage" error in ionic 3 ios app
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-activedirectory-library-for-cordova.