Skip to content

Commit

Permalink
fix: AseChannelValidation need throw when appid is not valid. (#6721)
Browse files Browse the repository at this point in the history
* fixUSGovSingleTenant

* Add UT

* AseChannelValidation

* Add UT

* Rollback AuthTenant Property Name

* The Ctor do contains the old ones, Add Ctor to ApiCompatBaseline

* fix a coding mistake
  • Loading branch information
fangyangci authored and Tracy Boehrer committed Jan 24, 2024
1 parent d6c02f4 commit e8e13e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static async Task<ClaimsIdentity> AuthenticateAseTokenAsync(string authHe

if (!await _credentialProvider.IsValidAppIdAsync(appID).ConfigureAwait(false))
{
await Console.Out.WriteLineAsync(appID).ConfigureAwait(false);
throw new UnauthorizedAccessException($"AseChannelValidation Invalid AppId passed on token: {appID}");
}

return identity;
Expand Down

0 comments on commit e8e13e4

Please sign in to comment.