diff --git a/IdentityServer/v7/PAT/Api/Api.csproj b/IdentityServer/v7/PAT/Api/Api.csproj
index 8045067f..817e6ed3 100644
--- a/IdentityServer/v7/PAT/Api/Api.csproj
+++ b/IdentityServer/v7/PAT/Api/Api.csproj
@@ -7,8 +7,8 @@
-
+
-
+
diff --git a/IdentityServer/v7/PAT/Client/Client.csproj b/IdentityServer/v7/PAT/Client/Client.csproj
index e7a550bf..32fed5c7 100644
--- a/IdentityServer/v7/PAT/Client/Client.csproj
+++ b/IdentityServer/v7/PAT/Client/Client.csproj
@@ -7,7 +7,7 @@
-
+
diff --git a/IdentityServer/v7/PAT/IdentityServerHost/IdentityServerHost.csproj b/IdentityServer/v7/PAT/IdentityServerHost/IdentityServerHost.csproj
index feb40ef9..2710dbdd 100644
--- a/IdentityServer/v7/PAT/IdentityServerHost/IdentityServerHost.csproj
+++ b/IdentityServer/v7/PAT/IdentityServerHost/IdentityServerHost.csproj
@@ -6,9 +6,9 @@
-
+
-
+
diff --git a/IdentityServer/v7/PAT/IdentityServerHost/Pages/Diagnostics/ViewModel.cs b/IdentityServer/v7/PAT/IdentityServerHost/Pages/Diagnostics/ViewModel.cs
index 292d48f1..8efc0bad 100644
--- a/IdentityServer/v7/PAT/IdentityServerHost/Pages/Diagnostics/ViewModel.cs
+++ b/IdentityServer/v7/PAT/IdentityServerHost/Pages/Diagnostics/ViewModel.cs
@@ -2,9 +2,9 @@
// Licensed under the MIT License. See LICENSE in the project root for license information.
+using System.Buffers.Text;
using System.Text;
using System.Text.Json;
-using Duende.IdentityModel;
using Microsoft.AspNetCore.Authentication;
namespace IdentityServerHost.Pages.Diagnostics;
@@ -18,7 +18,7 @@ public ViewModel(AuthenticateResult result)
if (result.Properties.Items.ContainsKey("client_list"))
{
var encoded = result.Properties.Items["client_list"];
- var bytes = Base64Url.Decode(encoded);
+ var bytes = Base64Url.DecodeFromChars(encoded);
var value = Encoding.UTF8.GetString(bytes);
Clients = JsonSerializer.Deserialize(value);