Skip to content

Commit

Permalink
Update OrchardCore.OpenId to explicitly reference Microsoft.IdentityM…
Browse files Browse the repository at this point in the history
…odel.Protocols.OpenIdConnect (#16057)
  • Loading branch information
kevinchalet committed May 15, 2024
1 parent 6679b28 commit 8dca5ad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/OrchardCore.Build/Dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,16 @@
<PackageManagement Include="Microsoft.Extensions.Azure" Version="1.7.3" />
<PackageManagement Include="Microsoft.Extensions.Http.Resilience" Version="8.5.0" />
<PackageManagement Include="Microsoft.Identity.Web" Version="2.18.1" />

<!--
Important: the version of the Microsoft.IdentityModel.Protocols.OpenIdConnect package MUST
match the IdentityModel version transitively referenced by OpenIddict to ensure we don't
accidentally end up referencing inconsistent versions (which is not supported by IM).
See https://github.com/OrchardCMS/OrchardCore/pull/16057 for more information.
-->

<PackageManagement Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" Version="7.5.1" />
<PackageManagement Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageManagement Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageManagement Include="MimeKit" Version="4.5.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" />
<PackageReference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect" />
<PackageReference Include="OpenIddict.Server.AspNetCore" />
<PackageReference Include="OpenIddict.Server.DataProtection" />
<PackageReference Include="OpenIddict.Validation.AspNetCore" />
Expand Down

0 comments on commit 8dca5ad

Please sign in to comment.