Skip to content

Commit 10445a0

Browse files
committed
fix security config for dataset request access endpoint
1 parent 0af664e commit 10445a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/ga4gh/refcloud/api/security/SecurityConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class SecurityConfig {
2626
private static final List<RequestMatcher> ORY_KRATOS_SESSION_ENDPOINTS = List.of(
2727
PathPatternRequestMatcher.withDefaults().matcher(HttpMethod.GET, "/datasets"),
2828
PathPatternRequestMatcher.withDefaults().matcher(HttpMethod.GET, "/datasets/{datasetId}"),
29-
PathPatternRequestMatcher.withDefaults().matcher(HttpMethod.GET, "/datasets/{datasetId}/request-access")
29+
PathPatternRequestMatcher.withDefaults().matcher(HttpMethod.POST, "/datasets/{datasetId}/request-access")
3030
);
3131

3232
private static final List<RequestMatcher> PUBLIC_ENDPOINTS = List.of(

0 commit comments

Comments
 (0)