Showing posts from April, 2018

Login With Office 365 Account Using Microsoft Active Directory Authentication Library (MS ADAL) Plugin In Ionic 3

In this post we will be looking at how to use cordova and  ms-adal Native plugin to authenticate into your Ionic mobile app. We will build a simple app that allows users to login using their office 365 accounts. Once they login,  a personalized welcome message will be displayed to the users using their profile information fetched via MS Graph API. I decided to blog about my experience because I couldn't come across any comprehensive information on using MS ADAL authentication in Ionic unlike what you get for cordova Facebook and Google plugin. So, I hope this post will help someone. The first thing to do is to register our app at Navigate to the url above and sign in with your Microsoft account, It could be a personal account or office account. It doesn't really matter. But if you want to see your apps in your azure dashboard, then use your office account. Type MS Adal Demo in Application Name field Ensure Guided Setup is selected,