Skip to content
Santiago Gonzalez edited this page May 11, 2020 · 47 revisions

The Microsoft Authentication Library for Java (MSAL4J) enables applications to integrate with the Microsoft identity platform. It allows you to sign in users or apps with Microsoft identities (Azure AD, Microsoft accounts and Azure AD B2C accounts) and obtain tokens to call Microsoft APIs such as Microsoft Graph or your own APIs registered with the Microsoft identity platform. It is built using industry standard OAuth2 and OpenID Connect protocols.

Overview

  1. Why use MSAL4J?

  2. Pre-requisite: Before using MSAL4J you will have to register your applications with Azure AD.

  3. Learn about the supported scenarios.

  4. To start using MSAL4J, instantiate and configure the client application.

  5. Learn about the ways to acquire a token using MSAL4J. This returns an IAuthenticationResult.

  6. Follow best practices for a robust enterprise ready application.

  7. Refer FAQ for common issues and known bugs.

Roadmap

Date Release Main features
12/2019 1.5.0 Support for throttling instructions, improved authority validation
12/2019 1.4.0 Support for acquire token interactive via system browser, authorization url builder
12/2019 1.3.0 Support for passing in instance discovery metadata
12/2019 1.2.0 Support for ADFS 2019
12/2019 1.1.0 Support for custom HTTP client configuration
12/2019 1.0.0 GA of MSAL Java
11/2019 1.0.0 Public Preview of MSAL Java
10/2019 0.7.0-preview Milestone 0.7.0-preview
10/2019 0.6.0-preview Milestone 0.6.0-preview
07/2019 0.5.0-preview Improved JavaDoc reference, Exceptions, added cache lookup to client credentials grant
06/2019 0.4.0-preview Exposed AcquireToken by refresh token
05/2019 0.3.0-preview FOCI support, Interfaces, Cache compatibility with MSAL .NET, Python
05/2019 0.2.0-preview Support for B2C accounts
02/2019 0.1.0-preview ADAL parity, builder pattern, telemetry, cache, authority aliases
Clone this wiki locally