Hi Mike @mdlallemont, I did not want to pollute other threads, but I wanted to ask.
You mention you ended up using ms-adal, and in this other thread, you mention that you used Ionic for building a webapp + a mobile app, here:
Now, I am trying to build a webapp with Ionic and tried using the ms-adal Ionic component. Since it’s a Cordova plugin, I think, when I tried running my webapp with ionic serve, it fails to load on the browser, hence I believe now I can’t use it:
That above is using the usage code in ms-adal.
Here is my question: when you said that you were doing that webapp+mobile app in Ionic, did you use adal auth there?
If so, were you able to use ms-adal for the webapp? Is there a trick to load a cordoba plugin in the browser or in the case of a webapp one should use the azure activedirectory library for js - since “ADAL also provides an AngularJS wrapper as adal-angular.js”:
Thanks a ton Mike and anyone that has ideas/opinions on this,
Gustavo.
Mike was very nice in providing me with the code to authenticate a user from a web app in Ionic.
Is this something you would be interested in having?
thanks,
Gustavo.
on Mike’s words: This is a hybrid PWA so it has both Cordova based auth and web only auth. You’ll see a function where it decides based on how it is running.