From 55d305f2957d41ca8def1fb9414fd1194ee63fd0 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 31 Aug 2026 17:35:02 +0100 Subject: [PATCH] test(oidc): cover discovery regression and consume fixed IdentityServer8 rc007 Add an application-level smoke test for /.well-known/openid-configuration and a direct IResourceStore check so the IdentityServer8 mapper failure is caught from the Yavsc side. Bump HigginsSoft.IdentityServer8 packages to 8.1.0-pazofrc007, which includes the EntityFramework mapper fix removing the failing AutoMapper static initialization. This closes the 500 on OIDC discovery and restores remoting/auth flows that depend on discovery metadata. --- Directory.Packages.props | 13 +++++----- .../Smoke/AccountSmokeTests.cs | 26 +++++++++++++++++++ 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a9a25541..f1be93f9 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,16 +1,17 @@ true + 8.1.0-pazofrc007 - - - - - - + + + + + + diff --git a/src/Yavsc.Org.Tests/Smoke/AccountSmokeTests.cs b/src/Yavsc.Org.Tests/Smoke/AccountSmokeTests.cs index c77a20ab..327c2db4 100644 --- a/src/Yavsc.Org.Tests/Smoke/AccountSmokeTests.cs +++ b/src/Yavsc.Org.Tests/Smoke/AccountSmokeTests.cs @@ -1,3 +1,6 @@ +using IdentityServer8.Stores; +using Microsoft.Extensions.DependencyInjection; + namespace Yavsc.Org.Tests.Smoke; /// @@ -30,4 +33,27 @@ public class AccountSmokeTests : SmokeTestBase, IClassFixture(); + + var exception = await Record.ExceptionAsync(resourceStore.GetAllResourcesAsync); + + Assert.Null(exception); + } }