I need some input in implementing MSAL library in Angular6+ applications for integrating with AZURE AD.
As i read through the microsoft docs, i came across two flows 'implicit grant flow' and 'auth code flow'. It is been recommended by microsoft team themselves that 'auth code flow' must be implemented as its secure as compared to 'implicit grant flow'.
Im working on a Angular6+ application, and I have to integrate it with AZURE AD. When i checked the MSAL libraries for angular i could only find 1 version "npm i @azure/msal-angular", which i assume implements 'implicit grant flow'. I have to implement 'auth code flow'.
Could anyone please help in this regard.
When I first posted this I believe the MSAL library did not support Authorization Code Flow (PKCE) - but that has now changed - see comments above and below
ALTERNATIVE OPTIONS?
Of course, OAuth is about standards - and Azure AD is standards based - so you can use any respected library for your tech stack.
As an example I've used the oidc-client library against both Azure AD and other providers