![]() For example, for the resource value of, the equivalent scope value is. You can add the /.default scope suffix to the resource to help migrate your apps from the ADAL to MSAL. See Microsoft Graph's scopes to see example scopes. This parameter is a list of strings that declare the desired permissions and resources that are requested. Many MSAL for Java classes require a scopes parameter. Scopes not resourcesĪDAL4J acquires tokens for resources whereas MSAL for Java acquires tokens for scopes. You can learn more about MSAL and get started with an overview of the Microsoft Authentication Library. All efforts going forward are focused on improving MSAL. No new features will be implemented on ADAL4J. MSAL for Java is the auth library we recommend you use with the Microsoft identity platform. Your application can enable incremental consent, and supporting conditional access is easier. ![]() Your users will get the best single-sign-on experience.Because it uses the newer Microsoft identity platform, you can authenticate a broader set of Microsoft identities such as Azure AD identities, Microsoft accounts, and social and local accounts through Azure AD Business to Consumer (B2C).Until now, most developers have worked with Azure AD for developers platform (v1.0) to authenticate Azure AD identities (work and school accounts) by requesting tokens using Azure AD Authentication Library (ADAL). This article highlights changes you need to make to migrate an app that uses the Azure Active Directory Authentication Library (ADAL) to use the Microsoft Authentication Library (MSAL).īoth the Microsoft Authentication Library for Java (MSAL4J) and Azure AD Authentication Library for Java (ADAL4J) are used to authenticate Azure AD entities and request tokens from Azure AD. ![]()
0 Comments
Leave a Reply. |