Skip to content

Commit 5a8d823

Browse files
RolandGuijtRoland Guijt
andauthored
Update packages in quickstart samples part 1 (#286)
Co-authored-by: Roland Guijt <roland.guijt@duendesoftware.com>
1 parent 7fcee95 commit 5a8d823

File tree

30 files changed

+60
-56
lines changed

30 files changed

+60
-56
lines changed

IdentityServer/v7/Quickstarts/1_ClientCredentials/src/Api/Api.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.2" />
1212
</ItemGroup>
1313

1414
</Project>

IdentityServer/v7/Quickstarts/1_ClientCredentials/src/Client/Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Duende.IdentityModel" Version="7.1.0" />
11+
<PackageReference Include="Duende.IdentityModel" Version="8.0.0" />
1212
</ItemGroup>
1313

1414
</Project>

IdentityServer/v7/Quickstarts/1_ClientCredentials/src/IdentityServer/IdentityServer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Duende.IdentityServer" Version="7.3.2"/>
10+
<PackageReference Include="Duende.IdentityServer" Version="7.4.4" />
1111

12-
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
12+
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
1313
</ItemGroup>
1414
</Project>

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/Api/Api.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.2" />
1212
</ItemGroup>
1313

1414
</Project>

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/Client/Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Duende.IdentityModel" Version="7.1.0" />
11+
<PackageReference Include="Duende.IdentityModel" Version="8.0.0" />
1212
</ItemGroup>
1313

1414
</Project>

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/HostingExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
2727
options.SignInScheme = IdentityServerConstants.ExternalCookieAuthenticationScheme;
2828
options.SignOutScheme = IdentityServerConstants.SignoutScheme;
2929
options.SaveTokens = true;
30-
30+
3131
options.Authority = "https://demo.duendesoftware.com";
3232
options.ClientId = "interactive.confidential";
3333
options.ClientSecret = "secret";
3434
options.ResponseType = "code";
35-
35+
3636
options.TokenValidationParameters = new TokenValidationParameters
3737
{
3838
NameClaimType = "name",
@@ -51,10 +51,10 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
5151
configureOptions: options =>
5252
{
5353
options.SignInScheme = IdentityServerConstants.ExternalCookieAuthenticationScheme;
54-
54+
5555
options.ClientId = googleClientId;
5656
options.ClientSecret = googleClientSecret;
57-
57+
5858
options.CallbackPath = "/signin-google";
5959
});
6060
}

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/IdentityServer.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Duende.IdentityServer" Version="7.3.2"/>
11-
<PackageReference Include="Google.Apis.Auth.AspNetCore3" Version="1.69.0" />
12-
<PackageReference Include="Serilog.AspNetCore" Version="9.0.0" />
10+
<PackageReference Include="Duende.IdentityServer" Version="7.4.4" />
11+
<PackageReference Include="Google.Apis.Auth.AspNetCore3" Version="1.73.0" />
12+
<PackageReference Include="Serilog.AspNetCore" Version="10.0.0" />
1313
</ItemGroup>
1414
</Project>

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/IdentityServer/Pages/Diagnostics/ViewModel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Copyright (c) Duende Software. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

4+
using System.Buffers.Text;
45
using System.Text;
56
using System.Text.Json;
6-
using Duende.IdentityModel;
77
using Microsoft.AspNetCore.Authentication;
88

99
namespace IdentityServer.Pages.Diagnostics;
@@ -18,7 +18,7 @@ public ViewModel(AuthenticateResult result)
1818
{
1919
if (encoded != null)
2020
{
21-
var bytes = Base64Url.Decode(encoded);
21+
var bytes = Base64Url.DecodeFromChars(encoded);
2222
var value = Encoding.UTF8.GetString(bytes);
2323
Clients = JsonSerializer.Deserialize<string[]>(value) ?? Enumerable.Empty<string>();
2424
return;

IdentityServer/v7/Quickstarts/2_InteractiveAspNetCore/src/WebClient/WebClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.0" />
10+
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.2" />
1111
</ItemGroup>
1212

1313
</Project>

IdentityServer/v7/Quickstarts/3_AspNetCoreAndApis/src/Api/Api.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.0" />
11+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="10.0.2" />
1212
</ItemGroup>
1313

1414
</Project>

0 commit comments

Comments
 (0)