diff --git a/changelog.md b/changelog.md index 026426c28..385829428 100644 --- a/changelog.md +++ b/changelog.md @@ -55,7 +55,7 @@ Update to the latest version of MSAL .NET (4.35.1). ### Bug Fixes: **Update XML comment and link**. See issues [#1325](https://github.com/AzureAD/microsoft-identity-web/issues/1325) and [#1322](https://github.com/AzureAD/microsoft-identity-web/issues/1322). -**Update the CCS routing implementation to remove technical debt**. See issue [#1303](https://github.com/AzureAD/microsoft-identity-web/issues/1303). +**Update the backup authentication system routing implementation to remove technical debt**. See issue [#1303](https://github.com/AzureAD/microsoft-identity-web/issues/1303). 1.14.1 ========== @@ -74,7 +74,7 @@ Update to the latest version of MSAL .NET (4.35.1). ### New Features: **Microsoft Identity Web now provides a more simplified developer experience with the MSAL.NET token cache**, available for ASP.NET, .NET Core, or .NET Framework. See issue [#1277](https://github.com/AzureAD/microsoft-identity-web/issues/1277) for details. -**Microsoft Identity Web supports, out of the box, AAD Cached Credential Service (CCS) which operates as an AAD backup**, by sending a routing hint to the /authorize and /token endpoints. See issue [#1146](https://github.com/AzureAD/microsoft-identity-web/issues/1146) for details. +**Microsoft Identity Web supports, out of the box, the AAD backup authentication system which operates as an AAD backup**, by sending a routing hint to the /authorize and /token endpoints. See issue [#1146](https://github.com/AzureAD/microsoft-identity-web/issues/1146) for details. ### Bug Fixes: **Fix isue regarding specifying multiple decryption certificates**. See issue [#1243](https://github.com/AzureAD/microsoft-identity-web/issues/1243) for details. diff --git a/src/Microsoft.Identity.Web/Constants/Constants.cs b/src/Microsoft.Identity.Web/Constants/Constants.cs index 1ca627f1c..c14f33ccb 100644 --- a/src/Microsoft.Identity.Web/Constants/Constants.cs +++ b/src/Microsoft.Identity.Web/Constants/Constants.cs @@ -129,7 +129,7 @@ public static class Constants internal const string LoginHintParameter = "loginHint"; internal const string DomainHintParameter = "domainHint"; - // CCS + // Backup authentication system internal const string XAnchorMailbox = "x-anchormailbox"; internal const string Upn = "upn"; } diff --git a/src/Microsoft.Identity.Web/TokenAcquisition.cs b/src/Microsoft.Identity.Web/TokenAcquisition.cs index 448799e7c..dd869589f 100644 --- a/src/Microsoft.Identity.Web/TokenAcquisition.cs +++ b/src/Microsoft.Identity.Web/TokenAcquisition.cs @@ -162,13 +162,13 @@ public async Task AddAccountToCacheFromAuthorizationCodeAsync( // Share the ID token though string? clientInfo = context!.ProtocolMessage?.GetParameter(ClaimConstants.ClientInfo); - string? ccsRoutingHint = string.Empty; + string? backUpAuthRoutingHint = string.Empty; if (!string.IsNullOrEmpty(clientInfo)) { ClientInfo? clientInfoFromAuthorize = ClientInfo.CreateFromJson(clientInfo); if (clientInfoFromAuthorize != null && clientInfoFromAuthorize.UniqueTenantIdentifier != null && clientInfoFromAuthorize.UniqueObjectIdentifier != null) { - ccsRoutingHint = $"oid:{clientInfoFromAuthorize.UniqueObjectIdentifier}@{clientInfoFromAuthorize.UniqueTenantIdentifier}"; + backUpAuthRoutingHint = $"oid:{clientInfoFromAuthorize.UniqueObjectIdentifier}@{clientInfoFromAuthorize.UniqueTenantIdentifier}"; } } @@ -176,7 +176,7 @@ public async Task AddAccountToCacheFromAuthorizationCodeAsync( .AcquireTokenByAuthorizationCode(scopes.Except(_scopesRequestedByMsal), context!.ProtocolMessage!.Code) .WithSendX5C(mergedOptions.SendX5C) .WithPkceCodeVerifier(codeVerifier) - .WithCcsRoutingHint(ccsRoutingHint); + .WithCcsRoutingHint(backUpAuthRoutingHint); if (mergedOptions.IsB2C) {