Skip to content

Commit

Permalink
#35 [Update] 세번째 시도
Browse files Browse the repository at this point in the history
OAuth2AuthenticationSuccessHandler 클래스에 있는 isAuthorizedRedirectUri 메소드에서 port 번호를 비교하는 로직 삭제
  • Loading branch information
Anna-Jin committed Jul 19, 2022
1 parent 951149b commit e1c7b82
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ private boolean isAuthorizedRedirectUri(String uri) {
.stream()
.anyMatch(authorizedRedirectUri -> {
URI authorizedURI = URI.create(authorizedRedirectUri);
return authorizedURI.getHost().equalsIgnoreCase(clientRedirectUri.getHost())
&& authorizedURI.getPort() == clientRedirectUri.getPort();
return authorizedURI.getHost().equalsIgnoreCase(clientRedirectUri.getHost());
});
}
}

0 comments on commit e1c7b82

Please sign in to comment.