fix: application-oauth.yml 수정
This commit is contained in:
@@ -4,23 +4,24 @@ spring:
|
||||
client:
|
||||
registration:
|
||||
github:
|
||||
client-id: 6c34d9a6903231c5a301
|
||||
client-secret: 비밀키
|
||||
scope: name,email,avatar_url
|
||||
client-id: "6c34d9a6903231c5a301"
|
||||
client-secret: "비밀키"
|
||||
scope: "name,email,avatar_url"
|
||||
google:
|
||||
client-id: 54767115914-gcla0mork6h3156h4qcutjerm0mdf4fu.apps.googleusercontent.com
|
||||
client-secret: 비밀키
|
||||
scope: profile,email
|
||||
client-id: "54767115914-gcla0mork6h3156h4qcutjerm0mdf4fu.apps.googleusercontent.com"
|
||||
client-secret: "비밀키"
|
||||
scope: "profile,email"
|
||||
# 네이버는 spring security가 기본적을 제공해주지 않기 때문에 github, google과 달리 많은 정보를 적어줘야한다.
|
||||
naver:
|
||||
client-id: sCfhQHgPVQFFf8RTGjVe
|
||||
client-secret: 비밀키
|
||||
redirect-uri: {baseUrl}/{action}/oauth2/code/{registrationId}
|
||||
authorization_grant_type: authorization_code
|
||||
scope: name,email,profile_image
|
||||
client-name: Naver
|
||||
client-id: "sCfhQHgPVQFFf8RTGjVe"
|
||||
client-secret: "비밀키"
|
||||
redirect-uri: "{baseUrl}/{action}/oauth2/code/{registrationId}"
|
||||
authorization_grant_type: "authorization_code"
|
||||
scope: "name,email,profile_image"
|
||||
client-name: "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
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user