Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CHORE] yml 정리 #266

Merged
merged 1 commit into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions src/main/java/com/soptie/server/common/config/ValueConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@ public class ValueConfig {
@Value("${jwt.secret}")
private String secretKey;

@Value("${spring.security.oauth2.client.registration.kakao.client-id")
private String clientId;

@Value("${spring.security.oauth2.client.registration.kakao.redirect-uri")
private String redirectUri;

@Value("${spring.security.oauth2.client.registration.kakao.client-secret")
private String clientSecret;

@Value("${spring.security.oauth2.client.provider.kakao.token-uri")
private String tokenUri;

@Value("${jwt.KAKAO_URL}")
private String kakaoUri;

Expand Down
20 changes: 1 addition & 19 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ spring:
format_sql: true
default_batch_fetch_size: 1000
auto_quote_keyword: true
security:
oauth2:
client:
registration:
kakao:
client-id: ${KAKAO.CLIENT_ID}
redirect-uri: ${KAKAO.REDIRECT_URI}
authorization-grant-type: authorization_code
scope: profile_nickname
client-name: Kakao
client-secret: ${KAKAO.CLIENT_SECRET}
client-authentication-method: POST
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
token-uri: https://kauth.kakao.com/oauth/token
user-info-uri: https://kapi.kakao.com/v2/user/me
user-name-attribute: id

logging:
level:
Expand All @@ -46,7 +28,7 @@ jwt:
secret: ${JWT.SECRET}
KAKAO_URL: https://kapi.kakao.com/v2/user/me
APPLE_URL: https://appleid.apple.com/auth/keys
ACCESS_TOKEN_EXPIRED: 60000
ACCESS_TOKEN_EXPIRED: 7200000
REFRESH_TOKEN_EXPIRED: 1209600000

softie:
Expand Down
20 changes: 1 addition & 19 deletions src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,6 @@ spring:
format_sql: true
default_batch_fetch_size: 1000
auto_quote_keyword: true
security:
oauth2:
client:
registration:
kakao:
client-id: ${KAKAO.CLIENT_ID}
redirect-uri: ${KAKAO.REDIRECT_URI}
authorization-grant-type: authorization_code
scope: profile_nickname
client-name: Kakao
client-secret: ${KAKAO.CLIENT_SECRET}
client-authentication-method: POST
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
token-uri: https://kauth.kakao.com/oauth/token
user-info-uri: https://kapi.kakao.com/v2/user/me
user-name-attribute: id

logging:
level:
Expand All @@ -52,4 +34,4 @@ jwt:
softie:
cron:
init:
routine: "0 0 0 * * *"
routine: "0 0 0 * * *"
Loading