Skip to content

Commit ae66200

Browse files
committed
refactor: 카카오 리다이렉트 url 파라미터 변경 & 개발환경 DB create-drop으로 설정 변경
1 parent 10e064b commit ae66200

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/main/resources/application-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ spring:
1919
driver-class-name: com.mysql.cj.jdbc.Driver
2020
jpa:
2121
hibernate:
22-
ddl-auto: update
22+
ddl-auto: create-drop
2323
properties:
2424
hibernate:
2525
show_sql: false

src/main/resources/application.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ spring:
2222
scope: profile_nickname # 카카오 닉네임만 가져옴
2323
client-name: Kakao
2424
authorization-grant-type: authorization_code
25-
redirect-uri: '${BASE_URL}/{action}/oauth2/code/{registrationId}'
25+
redirect-uri: '${custom.site.backUrl}/{action}/oauth2/code/{registrationId}'
2626
google:
2727
client-id: ${GOOGLE_OAUTH2_CLIENT_ID}
2828
client-secret: ${GOOGLE_OAUTH2_CLIENT_SECRET}
29-
redirect-uri: '${BASE_URL}/{action}/oauth2/code/{registrationId}'
29+
redirect-uri: '${custom.site.backUrl}/{action}/oauth2/code/{registrationId}'
3030
client-name: Google
3131
scope: profile
3232
naver:
@@ -35,7 +35,7 @@ spring:
3535
scope: profile_nickname # 네이버 닉네임만 가져옴
3636
client-name: Naver
3737
authorization-grant-type: authorization_code
38-
redirect-uri: '${BASE_URL}/{action}/oauth2/code/{registrationId}'
38+
redirect-uri: '${custom.site.backUrl}/{action}/oauth2/code/{registrationId}'
3939
provider:
4040
kakao:
4141
authorization-uri: https://kauth.kakao.com/oauth/authorize
@@ -77,10 +77,10 @@ custom:
7777
frontUrl: "https://www.${custom.prod.cookieDomain}"
7878
backUrl: "https://api.${custom.prod.cookieDomain}"
7979
site:
80-
cookieDomain: "${custom.dev.cookieDomain}"
81-
frontUrl: "${custom.dev.frontUrl}"
82-
backUrl: "${custom.dev.backUrl}"
83-
name: p-14044-1
80+
cookieDomain: ${custom.dev.cookieDomain}
81+
frontUrl: ${custom.dev.frontUrl}
82+
backUrl: ${custom.dev.backUrl}
83+
name: ssoul
8484
jwt:
8585
secretKey: ${JWT_SECRET_KEY}
8686
accessToken:

0 commit comments

Comments
 (0)