oauth-2.0azure-active-directoryopenid-connectmsal.jsangular-auth-oidc-client

how to use msal.js 2.x (msal-browser) in angular project to implement authorization code flow using PKCE?


I want to use msal.js 2.x (msal-browser) in an angular project to implement authorization code flow using PKCE. I am using Azure Active directory as an IAM. Please guide me if I am using the correct library or should I use a different library?


Solution

  • The best way is to read Redirect URI: MSAL.js 2.0 with auth code flow

    And please refer to this doc.