Example of using Adal.js in Angular5. App show how to:
- authorize user
- acquire token for Microsoft Graph Api
- get user messages
- silence renew token
Example use only standard Adal.js (without wrappers) and typings from @types/adal-angular.
This project was generated with Angular CLI version 1.6.6.
- setup Replay URLs in Azure portal for your app
- set «oauth2AllowImplicitFlow»: true in your app manifest
- give permissions to Microsoft Graph API
- set your tenant, and clientId in environments/environment.ts