Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feature/kakao-login' into featur…
Browse files Browse the repository at this point in the history
…e/kakao-login
  • Loading branch information
ss7622 committed Jun 14, 2024
2 parents 63c774c + 705e69f commit fa6f545
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,26 @@ spring:
hibernate:
# show_sql: true
format_sql: true
security:
oauth2:
client:
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
registration:
kakao:
client-id: ${KAKAO_CLIENT_ID}
client-secret: ${KAKAO_CLIENT_SECRET}
client-authentication-method: client_secret_post
redirect-uri: http://localhost:8080/login/oauth2/code/kakao
authorization-grant-type: authorization_code
client-name: kakao
scope:
- profile_nickname
- account_email

logging.level:
org.hibernate.SQL: debug
Expand All @@ -26,4 +46,4 @@ cloud:
region:
static: ap-northeast-2
stack:
auto: 'false'
auto: 'false'

0 comments on commit fa6f545

Please sign in to comment.