From 00d424a321b1e05f22a1eb60356e67a83f3cc5d2 Mon Sep 17 00:00:00 2001 From: Roland Guijt Date: Tue, 13 Jan 2026 14:23:05 +0100 Subject: [PATCH] Bump packages for PAT sample --- IdentityServer/v7/PAT/Api/Api.csproj | 4 ++-- IdentityServer/v7/PAT/Client/Client.csproj | 2 +- .../v7/PAT/IdentityServerHost/IdentityServerHost.csproj | 4 ++-- .../v7/PAT/IdentityServerHost/Pages/Diagnostics/ViewModel.cs | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) 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);