Skip to content

Commit ecdaa1b

Browse files
authored
Dev > Main 브랜치 병합
1. github-auth 리디렉션 경로에 Github Url을 쿼리 파라미터로 추가 후 Main 브랜치에 병합합니다.
2 parents cc615e8 + 6ddc604 commit ecdaa1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/hs/kr/backend/devpals/infra/oauth2/Oauth2LoginSuccessHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
5252
user.updateGithub(githubUrl);
5353
userRepository.save(user);
5454

55-
response.sendRedirect("http://localhost:5173/user/profile?auth=github");
55+
response.sendRedirect("http://localhost:5173/oauth/github-success?githubUrl=" + githubUrl);
5656
return;
5757
}
5858

0 commit comments

Comments
 (0)