Skip to content

Commit

Permalink
Merge pull request #216 from Yanabada/develop
Browse files Browse the repository at this point in the history
fix: 카카오 로그인 시  redirectUrl 수정
  • Loading branch information
tjdtn0219 authored Jan 26, 2024
2 parents d1f660e + b624a66 commit 68e5f44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ public void onAuthenticationSuccess(
authService.loginOauth(response, loginRequest, ProviderType.valueOf(provider));
} else {
/* 회원 가입 필요 */
String redirectUrl = "http://localhost:5173"
String redirectUrl = "https://www.yanabada.com"
+ redirectPath
+ "?email=" + email
+ "&provider=" + provider;
+ "&provider=" + provider
+ "&test=test";
log.info("kakao redirectUrl={}", redirectUrl);
CookieCreator.storeOauth2Attribute(response, email, provider);
response.sendRedirect(redirectUrl);
}
Expand Down
8 changes: 0 additions & 8 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,3 @@ firebase:
s3:
end-point: https://yanabada-image.s3.ap-northeast-2.amazonaws.com/

server:
servlet:
session:
cookie:
secure: true
path: /
same-site: none
domain: yanabada.com

0 comments on commit 68e5f44

Please sign in to comment.