|
5 | 5 | username: sa |
6 | 6 | password: |
7 | 7 |
|
| 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 | + |
8 | 51 | jwt: |
9 | 52 | secret: test-jwt-secret-key-12345678901234567890 |
10 | 53 | access-token-expiration: ${JWT_ACCESS_TOKEN_EXPIRATION:1800} # 30분 (초 단위) |
|
0 commit comments