microsoft-authentication-library-for-java
microsoft-authentication-library-for-java copied to clipboard
Microsoft Authentication Library (MSAL) for Java http://aka.ms/aadv2
## Region auto-enable 1. On creation of a ConfidentialClientApplication, MSAL shall detect env variable `MSAL_FORCE_REGION`, which will be set to a specific region (e.g. `westus1`) 2. If this env variable...
### Library version used 1.17.0 ### Java version 8 ### Scenario Other - please specify ### Is this a new or an existing app? The app is in production, I...
As pointed out in [this comment](https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/851#discussion_r1712991170) on the PR adding custom authority support, it is a bad practice to make HTTP calls during app creation. If there is no internet...
Several years ago the [ClaimsRequest](https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/dev/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/ClaimsRequest.java) and related APIs were added as a helper for claims in token requests. However, this is inconsistent with other (non-Android) MSALs and is strongly typed...
As explained in https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/907, Azure Identity used to have distinct exceptions for JSON parsing errors in MI scenarios, but MSAL did not add any when we implemented managed identity support....
This PR removes the com.nimbusds.oauth2 dependency from various classes that deal with different grant types, as per https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/909 The dependency was mainly used by these classes to create maps of...
Add APIs to the managed identity app and request to add client capabilities and claims
### Library version used 1.19.1 ### Java version 1.8 ### Scenario ConfidentialClient - web site (AcquireTokenByAuthCode) ### Is this a new or an existing app? None ### Issue description and...
While make changes in https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/929 and https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/931, we discovered that the behavior of the silent flow is incorrect when a `refresh_in` value is set: - `AcquireTokenSilentSupplier` has two main flows,...
Token source needs to be passed to result as IDP. And update the tests to check the token source