Reputation: 1248
What is the recommended/famous library for authenticating the react app with Azure AD B2C?
I am familiar with Salvoravida React Adal which has approximately 8500+ downloads per week in npm. Is there anything similar for AD B2C.
Based on my search, I found react-azure-adb2c, but it looks like it's not maintained anymore (last commit on Aug 2018 & a lot of pending PRs )
Upvotes: 2
Views: 2092
Reputation: 23121
If you worry about something about react-azure-adb2c, you can use MSAL.js to integrate Azure AD B2C with your application. Microsoft also recommends customers use MSAL.js to integrate Azure AD B2C. For more details, please refer to the document. Regarding how to do that, you can refer to react-msal-sample and MSAL Azure AD B2C sample.
Upvotes: 3