Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</PropertyGroup>

<PropertyGroup Label="Common dependency versions">
<IdentityModelVersion>6.30.0</IdentityModelVersion>
<IdentityModelVersion>6.32.0</IdentityModelVersion>
<MicrosoftIdentityClientVersion>4.54.1</MicrosoftIdentityClientVersion>
<FxCopAnalyzersVersion>3.3.0</FxCopAnalyzersVersion>
<SystemTextEncodingsWebVersion>4.7.2</SystemTextEncodingsWebVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
using Microsoft.Extensions.Options;
using Microsoft.Identity.Web.Resource;
using Microsoft.IdentityModel.Tokens;
using Microsoft.IdentityModel.Validators;

namespace Microsoft.Identity.Web
{
Expand Down Expand Up @@ -216,6 +217,8 @@ private static void AddMicrosoftIdentityWebApiImplementation(
microsoftIdentityIssuerValidatorFactory.GetAadIssuerValidator(options.Authority).Validate;
}

mergedOptions.TokenValidationParameters.EnableAadSigningKeyIssuerValidation();

// If you provide a token decryption certificate, it will be used to decrypt the token
// TODO use the credential loader
if (mergedOptions.TokenDecryptionCredentials != null)
Expand Down