I am developing Angular 6 & Web-API Core application & Now I have implemented Azure AD Authentication for my application. Till now authentication is successful. we are using ADAL-Angular 4 for handling the login, log-out in angular.
How to generate the access token from angular & how to identify the authenticated user has access or not. My user's, roles exist in DB, not in Azure AD.
I don't have Identity server in middle.
Please let me know.
I have achieved this few months, forgot to share the approach.
Approach 1: Use ADAL.Js in your angular APP, it can establish direct integration between Azure AD & Angular.
Approach 2: You can use package "angular-auth-oidc-client" this is a very wonderful package and gives more functionality like [ refresh token, silent renew ]
I have used approach-2 and able to implement the authentication & authorization using Azure AD.
Thanks for your support.