Include /.well-known/jwks in the paths covered by OpenIddict (#19749)

This commit is contained in:
Kenn Jacobsen
2025-07-18 13:48:22 +02:00
committed by GitHub
parent 5660c6c369
commit 71df46cc06

View File

@@ -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)