I am using Angular2 and want to authenticate the user against an Azure AD. I found ADALjs but they cater for Angular1 only, I also found this https://www.npmjs.com/package/angular2-adal#adalService, but this seems still in the initial stages. What is the best path I can take to implement this, can someone provide a working example.
This answer is probably super late, but since you asked for an example, I have modified the latest Angular 2 Quickstart and integrated ADAL into it, here: https://github.com/ranveeraggarwal/ng2-adal-QuickStart
It also has routing and protected routing.
This uses systemjs and I am yet to find a webpack-based solution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With