Skip to content

Commit 38563dd

Browse files
authored
[Blazor][Identity] Update to the latest identity server version (#25002)
* Updates to IdentityServer 4.0.4 * Updates templates with the new migrations. * Fixes a small configuration bug that required the configuration for the key to be specified. * Updates the error url in IdentityServer config to match our template defaults.
1 parent 6a3887a commit 38563dd

File tree

42 files changed

+2073
-964
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2073
-964
lines changed

AspNetCore.sln

Lines changed: 124 additions & 31 deletions
Large diffs are not rendered by default.

eng/Dependencies.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ and are generated based on the last package release.
107107
<LatestPackageReference Include="Microsoft.Bcl.AsyncInterfaces" />
108108
<LatestPackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" />
109109
<LatestPackageReference Include="Microsoft.CodeAnalysis.PublicApiAnalyzers" />
110+
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.Design" />
110111
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.InMemory" />
111112
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
112113
<LatestPackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" />

eng/Version.Details.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@
4141
<Uri>https://github.com/dotnet/efcore</Uri>
4242
<Sha>5099d918192f5df031e1ff5e3beea9cb361c605a</Sha>
4343
</Dependency>
44+
<Dependency Name="Microsoft.EntityFrameworkCore.Design" Version="5.0.0-rc.1.20417.2">
45+
<Uri>https://github.com/dotnet/efcore</Uri>
46+
<Sha>5099d918192f5df031e1ff5e3beea9cb361c605a</Sha>
47+
</Dependency>
4448
<Dependency Name="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0-rc.1.20416.7">
4549
<Uri>https://github.com/dotnet/runtime</Uri>
4650
<Sha>0862d48a9c9fbda879206b194a16d8e607deac42</Sha>

eng/Versions.props

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
<MicrosoftEntityFrameworkCoreSqlServerPackageVersion>5.0.0-rc.1.20417.2</MicrosoftEntityFrameworkCoreSqlServerPackageVersion>
141141
<MicrosoftEntityFrameworkCoreToolsPackageVersion>5.0.0-rc.1.20417.2</MicrosoftEntityFrameworkCoreToolsPackageVersion>
142142
<MicrosoftEntityFrameworkCorePackageVersion>5.0.0-rc.1.20417.2</MicrosoftEntityFrameworkCorePackageVersion>
143+
<MicrosoftEntityFrameworkCoreDesignPackageVersion>5.0.0-rc.1.20417.2</MicrosoftEntityFrameworkCoreDesignPackageVersion>
143144
</PropertyGroup>
144145
<!--
145146
@@ -250,11 +251,11 @@
250251
<GrpcAuthPackageVersion>2.27.0</GrpcAuthPackageVersion>
251252
<GrpcNetClientPackageVersion>2.27.0</GrpcNetClientPackageVersion>
252253
<GrpcToolsPackageVersion>2.27.0</GrpcToolsPackageVersion>
253-
<IdentityServer4AspNetIdentityPackageVersion>3.0.0</IdentityServer4AspNetIdentityPackageVersion>
254-
<IdentityServer4EntityFrameworkPackageVersion>3.0.0</IdentityServer4EntityFrameworkPackageVersion>
255-
<IdentityServer4PackageVersion>3.0.0</IdentityServer4PackageVersion>
256-
<IdentityServer4StoragePackageVersion>3.0.0</IdentityServer4StoragePackageVersion>
257-
<IdentityServer4EntityFrameworkStoragePackageVersion>3.0.0</IdentityServer4EntityFrameworkStoragePackageVersion>
254+
<IdentityServer4AspNetIdentityPackageVersion>4.0.4</IdentityServer4AspNetIdentityPackageVersion>
255+
<IdentityServer4EntityFrameworkPackageVersion>4.0.4</IdentityServer4EntityFrameworkPackageVersion>
256+
<IdentityServer4PackageVersion>4.0.4</IdentityServer4PackageVersion>
257+
<IdentityServer4StoragePackageVersion>4.0.4</IdentityServer4StoragePackageVersion>
258+
<IdentityServer4EntityFrameworkStoragePackageVersion>4.0.4</IdentityServer4EntityFrameworkStoragePackageVersion>
258259
<MessagePackPackageVersion>2.1.90</MessagePackPackageVersion>
259260
<MicrosoftIdentityWebPackageVersion>0.2.1-preview</MicrosoftIdentityWebPackageVersion>
260261
<MicrosoftIdentityWebUIPackageVersion>0.2.1-preview</MicrosoftIdentityWebUIPackageVersion>

src/Components/ComponentsNoDeps.slnf

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
"src\\Components\\WebAssembly\\DebugProxy\\src\\Microsoft.AspNetCore.Components.WebAssembly.DebugProxy.csproj",
2323
"src\\Components\\WebAssembly\\DevServer\\src\\Microsoft.AspNetCore.Components.WebAssembly.DevServer.csproj",
2424
"src\\Components\\WebAssembly\\JSInterop\\src\\Microsoft.JSInterop.WebAssembly.csproj",
25+
"src\\Components\\WebAssembly\\Sdk\\integrationtests\\Microsoft.NET.Sdk.BlazorWebAssembly.IntegrationTests.csproj",
26+
"src\\Components\\WebAssembly\\Sdk\\src\\Microsoft.NET.Sdk.BlazorWebAssembly.csproj",
27+
"src\\Components\\WebAssembly\\Sdk\\test\\Microsoft.NET.Sdk.BlazorWebAssembly.Tests.csproj",
28+
"src\\Components\\WebAssembly\\Sdk\\tools\\Microsoft.NET.Sdk.BlazorWebAssembly.Tools.csproj",
2529
"src\\Components\\WebAssembly\\Server\\src\\Microsoft.AspNetCore.Components.WebAssembly.Server.csproj",
2630
"src\\Components\\WebAssembly\\Server\\test\\Microsoft.AspNetCore.Components.WebAssembly.Server.Tests.csproj",
2731
"src\\Components\\WebAssembly\\WebAssembly.Authentication\\src\\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj",
@@ -31,10 +35,9 @@
3135
"src\\Components\\WebAssembly\\testassets\\HostedInAspNet.Client\\HostedInAspNet.Client.csproj",
3236
"src\\Components\\WebAssembly\\testassets\\HostedInAspNet.Server\\HostedInAspNet.Server.csproj",
3337
"src\\Components\\WebAssembly\\testassets\\StandaloneApp\\StandaloneApp.csproj",
34-
"src\\Components\\WebAssembly\\Sdk\\src\\Microsoft.NET.Sdk.BlazorWebAssembly.csproj",
35-
"src\\Components\\WebAssembly\\Sdk\\test\\Microsoft.NET.Sdk.BlazorWebAssembly.Tests.csproj",
36-
"src\\Components\\WebAssembly\\Sdk\\tools\\Microsoft.NET.Sdk.BlazorWebAssembly.Tools.csproj",
37-
"src\\Components\\WebAssembly\\Sdk\\integrationtests\\Microsoft.NET.Sdk.BlazorWebAssembly.IntegrationTests.csproj",
38+
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Client\\Wasm.Authentication.Client.csproj",
39+
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Server\\Wasm.Authentication.Server.csproj",
40+
"src\\Components\\WebAssembly\\testassets\\Wasm.Authentication.Shared\\Wasm.Authentication.Shared.csproj",
3841
"src\\Components\\Web\\src\\Microsoft.AspNetCore.Components.Web.csproj",
3942
"src\\Components\\Web\\test\\Microsoft.AspNetCore.Components.Web.Tests.csproj",
4043
"src\\Components\\benchmarkapps\\Wasm.Performance\\ConsoleHost\\Wasm.Performance.ConsoleHost.csproj",

0 commit comments

Comments
 (0)