File tree Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Expand file tree Collapse file tree 2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,12 @@ REDIS_PASSWORD=
2121# DB_PASSWORD=your-db-password
2222
2323# 🔧 개발 모드 설정
24- SPRING_PROFILES_ACTIVE = dev
24+ SPRING_PROFILES_ACTIVE = dev
25+
26+ # 🔐 OAuth 2.0 Client Credentials
27+ GOOGLE_CLIENT_ID = your-google-client-id
28+ GOOGLE_CLIENT_SECRET = your-google-client-secret
29+ NAVER_CLIENT_ID = your-naver-client-id
30+ NAVER_CLIENT_SECRET = your-naver-client-secret
31+ KAKAO_CLIENT_ID = your-kakao-client-id
32+ KAKAO_CLIENT_SECRET = your-kakao-client-secret
Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ spring:
8181 client :
8282 registration :
8383 google :
84- client-id : 11962659605-optp0eb5h1c1ob1b9qie53s83j165qt8.apps.googleusercontent.com
85- client-secret : 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
84+ client-id : ${GOOGLE_CLIENT_ID}
85+ client-secret : ${GOOGLE_CLIENT_SECRET}
8686 scope :
8787 - profile
8888 - email
8989 naver :
90- client-id : At2KDxDK_ppHMuMYqEDL
91- client-secret : osKwSljl9i
90+ client-id : ${NAVER_CLIENT_ID}
91+ client-secret : ${NAVER_CLIENT_SECRET}
9292 authorization-grant-type : authorization_code
9393 redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
9494 scope :
@@ -97,8 +97,8 @@ spring:
9797 - profile_image
9898 client-name : Naver
9999 kakao :
100- client-id : da170def761db299a36665bbcf50817b
101- client-secret : SoEKP391vVXvrMy3nANjdWZA7RrheBJW
100+ client-id : ${KAKAO_CLIENT_ID}
101+ client-secret : ${KAKAO_CLIENT_SECRET}
102102 client-authentication-method : client_secret_post
103103 authorization-grant-type : authorization_code
104104 redirect-uri : " {baseUrl}/login/oauth2/code/{registrationId}"
You can’t perform that action at this time.
0 commit comments