From 71df46cc06ee7c50f0dc05cb769bf4ec49018adb Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Fri, 18 Jul 2025 13:48:22 +0200 Subject: [PATCH] Include /.well-known/jwks in the paths covered by OpenIddict (#19749) --- .../DependencyInjection/ProcessRequestContextHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Cms.Api.Common/DependencyInjection/ProcessRequestContextHandler.cs b/src/Umbraco.Cms.Api.Common/DependencyInjection/ProcessRequestContextHandler.cs index 21776b740f..c45f80f467 100644 --- a/src/Umbraco.Cms.Api.Common/DependencyInjection/ProcessRequestContextHandler.cs +++ b/src/Umbraco.Cms.Api.Common/DependencyInjection/ProcessRequestContextHandler.cs @@ -18,7 +18,7 @@ public class ProcessRequestContextHandler var backOfficePathSegment = Constants.System.DefaultUmbracoPath.TrimStart(Constants.CharArrays.Tilde) .EnsureStartsWith('/') .EnsureEndsWith('/'); - _pathsToHandle = [backOfficePathSegment, "/.well-known/openid-configuration"]; + _pathsToHandle = [backOfficePathSegment, "/.well-known/openid-configuration", "/.well-known/jwks"]; } public ValueTask HandleAsync(OpenIddictServerEvents.ProcessRequestContext context)