Skip to content

Commit

Permalink
[Fix]: 로그인 리다이렉트 url 변경.
Browse files Browse the repository at this point in the history
  • Loading branch information
young970 committed Dec 3, 2023
1 parent 38fdc22 commit 1b960c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public OAuth2SuccessHandler(JwtProvider jwtProvider) {

@Override
public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException, ServletException {
String redirectUrl = "https://link-hub.site/oauth2/redirection/kakao"; // 운영 시 수정 예정 ("https://link-hub.site/oauth2/redirection/kakao")
String redirectUrl = "http://localhost:3000/oauth2/redirection/kakao"; // 운영 시 수정 예정 ("https://link-hub.site/oauth2/redirection/kakao")

DefaultOAuth2User oAuth2User = (DefaultOAuth2User) authentication.getPrincipal();

Expand Down

0 comments on commit 1b960c7

Please sign in to comment.