Skip to content

Commit

Permalink
Merge pull request Team-TenTen#190 from Team-TenTen/fix/login
Browse files Browse the repository at this point in the history
[Fix]: 로그인 리다이렉트 url 변경.
  • Loading branch information
young970 committed Dec 3, 2023
2 parents 38fdc22 + 1b960c7 commit 7f5ccc6
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 7f5ccc6

Please sign in to comment.