I am trying to use e msal 2.0 (msal-browser) for my react app for authentication with Azure AD B2C Custom policy, I didn't any proper documentation or samples for the same
Is msal 2.0 (msal-browser) auth code flow is supported with Azure AD B2C custom policies?
1.4k views Asked by Kiran Bhadani At
2
There are 2 answers
0
On
(Moving from Comments to Answer)
MSAL.js 2.0 does not currently support Azure AD B2C for use with the PKCE authorization code flow. At this time, Azure AD B2C recommends using the implicit flow.
Please refer the Note
in the document for more information and you can see in the GitHub lib it was stated as Not yet available for B2C.
This sample should be useful to you, it uses Azure AD B2C + Custom Policies + MSAL.js 2.0 + Authorization Code flow.