Skip to main content


Microsoft Authentication Library (MSAL) is a Microsoft library that simplifies secure user authentication for modern applications. It enables apps to sign in users and access protected APIs using industry standards like OAuth 2.0 and OpenID Connect. MSAL supports web, mobile, desktop, and single-page applications, integrating seamlessly with Microsoft Entra ID and Microsoft accounts.