Skip to content

Commit

Permalink
Merge pull request #8 from Central-MakeUs/fix/deploy
Browse files Browse the repository at this point in the history
[FIX] KAKAO OIDC 환경변수 바꾸고 배포
  • Loading branch information
AlmondBreez3 authored Jan 8, 2024
2 parents 52ae874 + 570c295 commit f362d7e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import lombok.RequiredArgsConstructor;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;

import static com.example.consts.PopCornMateConsts.BEARER;

Expand Down Expand Up @@ -49,7 +50,7 @@ public KakaoTokenResponse getKakaoOauthToken(String code, String referer) {
System.out.println(referer);
return kakaoOauthClient.kakaoAuth(
kakaoOauthProperties.getClientId(),
"http://localhost:8080/kakao/callback",
"http://localhost:3000/kakao/callback",
code,
kakaoOauthProperties.getClientSecret());
}
Expand Down
13 changes: 13 additions & 0 deletions Infra/src/main/resources/application-infra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,17 @@ spring:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT:6379}

#cloud:
# aws:
# s3:
# bucket:
# credentials:
# access-key:
# secret-key:
# region:
# static: ap-northeast-2
# auto: false
# stack:
# auto: false
---

0 comments on commit f362d7e

Please sign in to comment.