Skip to content

Commit

Permalink
refactor #12 - 보안 관련 값들 환경변수로 관리
Browse files Browse the repository at this point in the history
이미 commit이 github에 올라가서 보안과 관련된 값이 공개 되어버렸지만 값들을 환경변수로 빼서 보안에 신경씀

TODO
클라우드에 배포하는 단계에서 Hashicrop Vault를 적극 도입할 것
  • Loading branch information
leejh7 committed Mar 12, 2024
1 parent 3118ac5 commit a687f40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a687f40

Please sign in to comment.