Skip to content

Commit ee047ef

Browse files
committed
Chore: Test 환경 설정 추가
1 parent cf28ecc commit ee047ef

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

src/main/resources/application-test.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,49 @@ spring:
55
username: sa
66
password:
77

8+
security:
9+
oauth2:
10+
client:
11+
registration:
12+
kakao:
13+
client-id: dummy-kakao-client-id
14+
authorization-grant-type: authorization_code
15+
client-name: Kakao
16+
redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
17+
scope: profile_nickname, profile_image, account_email
18+
naver:
19+
client-id: dummy-naver-client-id
20+
client-secret: dummy-naver-client-secret
21+
client-name: Naver
22+
authorization-grant-type: authorization_code
23+
redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
24+
scope: email, nickname, profile_image
25+
google:
26+
client-id: dummy-google-client-id
27+
client-secret: dummy-google-client-secret
28+
client-name: Google
29+
authorization-grant-type: authorization_code
30+
redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
31+
scope:
32+
- email
33+
- profile
34+
provider:
35+
kakao:
36+
authorization-uri: https://kauth.kakao.com/oauth/authorize
37+
token-uri: https://kauth.kakao.com/oauth/token
38+
user-info-uri: https://kapi.kakao.com/v2/user/me
39+
user-name-attribute: id
40+
naver:
41+
authorization-uri: https://nid.naver.com/oauth2.0/authorize
42+
token-uri: https://nid.naver.com/oauth2.0/token
43+
user-info-uri: https://openapi.naver.com/v1/nid/me
44+
user-name-attribute: response
45+
google:
46+
authorization-uri: https://accounts.google.com/o/oauth2/v2/auth
47+
token-uri: https://oauth2.googleapis.com/token
48+
user-info-uri: https://www.googleapis.com/oauth2/v3/userinfo
49+
user-name-attribute: sub
50+
851
jwt:
952
secret: test-jwt-secret-key-12345678901234567890
1053
access-token-expiration: ${JWT_ACCESS_TOKEN_EXPIRATION:1800} # 30분 (초 단위)

0 commit comments

Comments
 (0)