1.6.0 (2022-09-19)
Features Added
- Added
additionallyAllowedTenants
to the following credential builders to force explicit opt-in behavior for multi-tenant authentication:AuthorizationCodeCredentialBuilder
AzureCliCredentialBuilder
AzurePowerShellCredentialBuilder
ClientAssertionCredentialBuilder
ClientCertificateCredentialBuilder
ClientSecretCredentialBuilder
DefaultAzureCredentialBuilder
OnBehalfOfCredentialBuilder
UsernamePasswordCredentialBuilder
VisualStudioCodeCredentialBuilder
VisualStudioCredentialBuilder
Breaking Changes
-
Credential types supporting multi-tenant authentication will now throw
ClientAuthenticationException
if the requested tenant ID doesn't match the credential's tenant ID, and is not included in theadditionallyAllowedTenants
option. Applications must now explicitly add additional tenants to theadditionallyAllowedTenants
list, or add '*' to list, to enable acquiring tokens from tenants other than the originally specified tenant ID. See BREAKING_CHANGES.md. -
These beta features in version
1.6.0-beta.1
have been removed from this release and will be added back in version1.7.0-beta.1
:- removed
VisualStudioCodeCredential
fromDefaultAzureCredential
token chain AZURE_CLIENT_CERTIFICATE_PASSWORD
support forEnvironmentCredential
- in-memory token caching support for
ManagedIdentityCredential
.
- removed
Other Changes
Dependency Updates
- Upgraded
msal4j
from1.13.0
to1.13.1
.