Skip to content

Commit 71df46c

Browse files
authored
Include /.well-known/jwks in the paths covered by OpenIddict (#19749)
1 parent 5660c6c commit 71df46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Cms.Api.Common/DependencyInjection/ProcessRequestContextHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public ProcessRequestContextHandler(IHttpContextAccessor httpContextAccessor)
1818
var backOfficePathSegment = Constants.System.DefaultUmbracoPath.TrimStart(Constants.CharArrays.Tilde)
1919
.EnsureStartsWith('/')
2020
.EnsureEndsWith('/');
21-
_pathsToHandle = [backOfficePathSegment, "/.well-known/openid-configuration"];
21+
_pathsToHandle = [backOfficePathSegment, "/.well-known/openid-configuration", "/.well-known/jwks"];
2222
}
2323

2424
public ValueTask HandleAsync(OpenIddictServerEvents.ProcessRequestContext context)

0 commit comments

Comments
 (0)