Skip to content

Commit 4cd89b5

Browse files
committed
Polish gh-5184
1 parent 8a4ff44 commit 4cd89b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/src/main/java/org/springframework/security/config/http/AuthenticationConfigBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ List<OrderDecorator> getFilters() {
936936
}
937937

938938
if (authorizationCodeGrantFilter != null) {
939-
filters.add(new OrderDecorator(authorizationRequestRedirectFilter, OAUTH2_AUTHORIZATION_REQUEST_FILTER));
939+
filters.add(new OrderDecorator(authorizationRequestRedirectFilter, OAUTH2_AUTHORIZATION_REQUEST_FILTER.getOrder()+1));
940940
filters.add(new OrderDecorator(authorizationCodeGrantFilter, OAUTH2_AUTHORIZATION_CODE_GRANT_FILTER));
941941
}
942942

0 commit comments

Comments
 (0)