Skip to content

Commit b3d83bd

Browse files
committed
Fix some typos and add an aka.ms link to regional
1 parent 234da75 commit b3d83bd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/client/Microsoft.Identity.Client/AppConfig/ConfidentialClientApplicationBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ internal override void Validate()
238238
throw new MsalClientException(
239239
MsalError.RegionalAuthorityValidation,
240240
"You configured both Regional Authority and Authority Validation. Authority validation is not currently supported for regional Azure authorities." +
241-
"You can set the validateAuthority flag to false to use Azure Regional authority. Do not disable authority validation if you read the authority from a potentially unstrusted source, " +
242-
"for example from the WWWAuthenticate header of an HTTP request that resulted in a 401 response." );
241+
"You can set the validateAuthority flag to false to use Azure Regional authority. Do not disable authority validation if you read the authority from an untrusted source, " +
242+
"for example from the WWWAuthenticate header of an HTTP request that resulted in a 401 response. See https://aka.ms/msal-net-regional for details.");
243243
}
244244
}
245245

src/client/Microsoft.Identity.Client/MsalError.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,10 +954,10 @@ public static class MsalError
954954

955955
/// <summary>
956956
/// <para>What happens?</para>You configured both Regional Authority and Authority Validation. Authority validation is not currently supported for regional authorities.
957-
/// <para>Mitigation</para>Set the validateAuthority flag to false to use Azure Regional authority. Do not disable authority validation if you read the authority from a potentially unstrusted source,
957+
/// <para>Mitigation</para>Set the validateAuthority flag to false to use Azure Regional authority. Do not disable authority validation if you read the authority from an untrusted source,
958958
/// for example from the WWWAuthenticate header of an HTTP request that resulted in a 401 response.
959959
/// </summary>
960-
public const string RegionalAuthorityValidation = "regional_autority_validation";
960+
public const string RegionalAuthorityValidation = "regional_authority_validation";
961961

962962
}
963963
}

0 commit comments

Comments
 (0)