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?
The best way is to read Redirect URI: MSAL.js 2.0 with auth code flow
And please refer to this doc.