Skip to content

Commit

Permalink
chore: 카카오 로그인 redirect url 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ss7622 committed Jul 7, 2024
1 parent 8fa013a commit 4be364c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public void onAuthenticationSuccess(HttpServletRequest request,
String redirectUri = null;

if(principal.getMemberDto().phoneNumber() == null) {
redirectUri = "http://localhost:3000/phone";
redirectUri = "https://fiurinee.site/phone";
}
else{
redirectUri = "http://localhost:3000/auth";
redirectUri = "https://fiurinee.site/auth";
}

Long memberId = principal.getMemberDto().id();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spring:
client-id: ${KAKAO_CLIENT_ID}
client-secret: ${KAKAO_CLIENT_SECRET}
client-authentication-method: client_secret_post
redirect-uri: http://3.36.169.209:8080/login/oauth2/code/kakao
redirect-uri: https://emotionfeedback.site/login/oauth2/code/kakao
authorization-grant-type: authorization_code
client-name: kakao
scope:
Expand Down

0 comments on commit 4be364c

Please sign in to comment.