Skip to content

Commit

Permalink
!Hotfix: redirect /api 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yeonjy authored Aug 20, 2024
1 parent 2fa9564 commit eb3c5f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
if(oAuth2User.getRole() == Role.GUEST) {
String accessToken = jwtService.createAccessToken(oAuth2User.getEmail());
response.addHeader(jwtService.getAccessHeader(), "Bearer " + accessToken);
response.sendRedirect("https://yolog.store/api/social-login?exist=false&Authorization=" + accessToken);
response.sendRedirect("https://yolog.store/social-login?exist=false&Authorization=" + accessToken);

jwtService.sendAccessAndRefreshToken(response, accessToken, null);
} else {
Expand Down

0 comments on commit eb3c5f9

Please sign in to comment.