Skip to content
Merged
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
39 changes: 39 additions & 0 deletions src/main/resources/application-oauth.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
security:
oauth2:
client:
registration:
google:
url: https://accounts.google.com/o/oauth2/v2/auth
client:
id: 80280358649-hm15q6p5a80eucd3ofo9qrq52tjha4pu.apps.googleusercontent.com
secret: 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
callback:
url: http://localhost:3000/members/auth/google/callback
token:
url: https://oauth2.googleapis.com/token
kakao:
client-id: 7631d083ab97ccae8103b0aed5d67b05
client-secret: wJ3JGVAoFwONsA0MFbgzMNi6p8GjS1aE
redirect-uri: "http://52.3.173.210:8080/oauth2/code/kakao"
client-authentication-method: POST
authorization-grant-type: authorization_code
scope: profile_nickname, profile_image, account_email
client-name: Kakao
naver:
client-id: cCN1QPc9tzYuWAS8yUxo
client-secret: qlZqcYcgAU
redirect-uri: "{baseUrl}/{action}/oauth2/code/{registrationId}"# (== http://localhost:8080/login/oauth2/code/naver)
authorization-grant-type: authorization_code
scope: name, email, profile_image
client-name: 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
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