Skip to content

Commit

Permalink
[mod] rest api modify
Browse files Browse the repository at this point in the history
  • Loading branch information
sunghyun1356 committed Jul 20, 2024
1 parent 4238d15 commit 4b09c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/Lubee/Lubee/common/oauth/OauthService.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ public String getKakaoAccessToken(String code) {
BufferedWriter bw = new BufferedWriter((new OutputStreamWriter(conn.getOutputStream()))); // 전송하기 위한 것
StringBuilder sb = new StringBuilder();
sb.append("grant_type=authorization_code");
sb.append("&client_id=a42cd7bf8e59f88194582921a9886140"); // 배포 하고 나서 설정
sb.append("&redirect_uri=http://localhost:8080/api/users/kakao/simpleLogin"); // 이부분 나중에 변경해야함
sb.append("&client_id=79873accc7ee090cdaef4388ae2d9106"); // 배포 하고 나서 설정
sb.append("&redirect_uri=https://lubee.shop/api/users/kakao/simpleLogin"); // 이부분 나중에 변경해야함
sb.append("&client_secret=AYKKr2WWSmWqlLb7gfMPmpuvQZUDXC2G");
sb.append("&code=").append(code);
bw.write(sb.toString());
Expand Down

0 comments on commit 4b09c63

Please sign in to comment.