From a687f401946cef87a315e59954ac16db9ef4f3b2 Mon Sep 17 00:00:00 2001 From: leejh7 <777joonho@kookmin.ac.kr> Date: Tue, 12 Mar 2024 18:12:54 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20#12=20-=20=EB=B3=B4=EC=95=88=20?= =?UTF-8?q?=EA=B4=80=EB=A0=A8=20=EA=B0=92=EB=93=A4=20=ED=99=98=EA=B2=BD?= =?UTF-8?q?=EB=B3=80=EC=88=98=EB=A1=9C=20=EA=B4=80=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 이미 commit이 github에 올라가서 보안과 관련된 값이 공개 되어버렸지만 값들을 환경변수로 빼서 보안에 신경씀 TODO 클라우드에 배포하는 단계에서 Hashicrop Vault를 적극 도입할 것 --- src/main/resources/application.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 028252c..e49eb33 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -38,14 +38,14 @@ spring: client: registration: kakao: - client-id: 0d7c948d8eaadc0e08f3e42636bba3bd - clientSecret: bIH2tF6jMbrRsdAp9DPL7yh97LP8pPXk + client-id: ${KAKAO_OAUTH_CLIENT_ID} + client-secret: ${KAKAO_OAUTH_CLIENT_SECRET} authorization-grant-type: authorization_code redirect-uri: "{baseUrl}/login/oauth2/code/kakao" client-authentication-method: client_secret_post naver: - client-id: OvLyXvoT1NlEr8Wfiu2u - client-secret: U6Or_rMFOQ + client-id: ${NAVER_OAUTH_CLIENT_ID} + client-secret: ${NAVER_OAUTH_CLIENT_SECRET} authorization-grant-type: authorization_code redirect-uri: "{baseUrl}/login/oauth2/code/naver" provider: