Angular 6 – ADAL Authentication

Today i want to talk to you about Microsoft ADAL (Azure Active Directory Authentication Library).
ADAL allows users to authenticate in Active Directory (AD) local or in the cloud and take token to protect the API.

How can i do to integrate it in a Angular 6 app?

1) Install the js library microsoft-adal-angular6

2) Open app.component.ts
2.1) Import the microsoft adal

2.2) In the export class AppComponent change the constructor

3) Open app.module.ts
3.1) Import the microsoft adal

3.2) We must to change our routes

3.3) In NgModule import library

If you want an example Angular 6 ADAL App click here.

4
Leave a Reply

avatar
3 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
4 Comment authors
PatrickPSCicciokrAndres Hurtado Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Andres Hurtado
Guest
Andres Hurtado

AngularJS 6 ?

PS
Guest
PS

Does this work?

Patrick
Guest
Patrick

AngularJS 6 is not a thing. AngularJS is Angular v1. Everything past v1 is known as Angular.