The release of a new Microsoft Authentication Library (MSAL) for Node expands the libraries you can use with the Microsoft identity platform to our developers using node.js. With MSAL Node you can write applications to authenticate users using Microsoft work, school and personal accounts, and accounts on social identity providers like Facebook, Google, LinkedIn, and others with our Azure AD B2C product. It also enables your app to access data and intelligence in Microsoft 365 through Microsoft Graph.
You can find the MSAL Node package here.
Learn more about how to take advantage of the new MSAL Node library in your application:
- Quickstart: Add Authentication to a Node web app with MSAL Node – Microsoft identity platform | Microsoft Docs
- Tutorial: Sign-in users in a Node.js & Express web app – Microsoft identity platform | Microsoft Docs
Migrate from ADAL Node to MSAL Node to keep your application modern and secure
MSAL Node replaces the existing ADAL Node library. Moving to the MSAL libraries ensures your application can use the latest features of our Azure products and stays up to date with the latest releases from the node.js community. For example, the new MSAL libraries work with the Microsoft identity platform’s OpenID Connect-certified Azure AD v2.0 endpoint and the social identity solution from Azure AD B2C.
Starting June 30, 2022, we will end support for ADAL and Azure AD Graph and will no longer provide technical support or security updates. Apps using ADAL on existing OS versions will continue to work after this time but will not receive any technical support or security updates. For more information, you can review our blog End of support timelines for ADAL and Azure AD Graph API.
Like all versions of ADAL, ADAL for Node.js is currently in maintenance mode. No new features are being added and ongoing development efforts are focused on improving MSAL for Node.js.
We can help you migrate your app
The Microsoft identity platform documentation contains this migration guide to help you start migrating your apps from ADAL Node to MSAL Node.
-Microsoft identity platform team