Skip to content

Commit

Permalink
Update application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoon0221 authored Nov 23, 2024
1 parent 4fcfc5f commit 62325b1
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,48 +13,51 @@ spring:
expiration-time: 3600000
refresh-token:
expiration-time: 604800000
security:
security:
oauth2:
client:
registration:

google:
client-id: "${OAUTH_GOOGLE_CLIENT_ID}"
client-secret: "${OAUTH_GOOGLE_CLIENT_SECRET}"
client-id: 68070665235-qvdshelcl2eja5amt37urbhqgpuuv4ve.apps.googleusercontent.com
client-secret: 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
scope:
- email
- profile
redirect-uri: "https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/google"
redirect-uri: https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/google

kakao:
client-id: "${OAUTH_KAKAO_CLIENT_ID}"
client-secret: "${OAUTH_KAKAO_CLIENT_SECRET}"
client-id: 6b1d134980644fe3a21d1a0f09b52c4d
client-secret: 6CE5ZNnGwrIfqkAjBENpiFIik67OsSdE
scope:
- profile_nickname
authorization-grant-type: authorization_code
redirect-uri: "https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/kakao"
redirect-uri: https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/kakao
client-name: Kakao
client-authentication-method: client_secret_post

naver:
client-id: "${OAUTH_NAVER_CLIENT_ID}"
client-secret: "${OAUTH_NAVER_CLIENT_SECRET}"
client-id: hbhB10Tk7nEfIWzdZDnW
client-secret: TR7P0nBX0D
scope:
- name
client-name: Naver
authorization-grant-type: authorization_code
redirect-uri: "https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/naver"
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
redirect-uri: https://yoonsever.xn--h32bi4v.xn--3e0b707e:443/login/oauth2/code/naver

provider:

naver:
authorization-uri: https://nid.naver.com/oauth2.0/authorize
token-uri: https://nid.naver.com/oauth2.0/token
user-info-uri: https://openapi.naver.com/v1/nid/me
user-name-attribute: response
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

naver:
authorization-uri: https://nid.naver.com/oauth2.0/authorize
token-uri: https://nid.naver.com/oauth2.0/token
user-info-uri: https://openapi.naver.com/v1/nid/me
user-name-attribute: response

datasource:
url: "${DATABASE_URL}"
Expand Down

0 comments on commit 62325b1

Please sign in to comment.