Conversation
DOHOON0127
approved these changes
Jun 1, 2026
DOHOON0127
left a comment
There was a problem hiding this comment.
고생하셧습니다! 백엔드에서 책임 지도록 oAuth구현 잘 하신 것 같아요!
Comment on lines
1
to
+44
| spring: | ||
| application: | ||
| name: "umc10th" # "umc10th" | ||
| name: "umc10th" | ||
|
|
||
| datasource: | ||
| driver-class-name: com.mysql.cj.jdbc.Driver # MySQL JDBC ???? ??? ?? | ||
| url: ${DB_URL} # jdbc:mysql://localhost:3306/{???????} | ||
| username: ${DB_USER} # MySQL ?? ?? | ||
| password: ${DB_PW} # MySQL ???? | ||
| driver-class-name: com.mysql.cj.jdbc.Driver | ||
| url: ${DB_URL} | ||
| username: ${DB_USER} | ||
| password: ${DB_PW} | ||
|
|
||
| jpa: | ||
| database: mysql # ??? ?????? ?? ?? (MySQL) | ||
| database-platform: org.hibernate.dialect.MySQLDialect # Hibernate?? ??? MySQL ??(dialect) ?? | ||
| show-sql: true # ??? SQL ??? ??? ???? ?? ?? | ||
| database: mysql | ||
| database-platform: org.hibernate.dialect.MySQLDialect | ||
| show-sql: true | ||
| hibernate: | ||
| ddl-auto: update # ?????? ?? ? ?????? ???? ??? ?? | ||
| ddl-auto: update | ||
| properties: | ||
| hibernate: | ||
| format_sql: true # ???? SQL ??? ?? ?? ??? No newline at end of file | ||
| format_sql: true | ||
|
|
||
| security: | ||
| oauth2: | ||
| client: | ||
| registration: | ||
| kakao: | ||
| client-id: ${KAKAO_REST_API_KEY} | ||
| client-secret: ${KAKAO_REST_API_SECRET} | ||
| authorization-grant-type: authorization_code | ||
| redirect-uri: "http://localhost:8080/oauth/callback/kakao" | ||
| scope: | ||
| - profile_nickname | ||
| - account_email | ||
| 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 # userNameAttribute → YAML 표준 케밥케이스 | ||
|
|
||
| jwt: | ||
| token: | ||
| secretKey: ${JWT_SECRET_KEY} | ||
| expiration: | ||
| access: 1800000 # 30분 No newline at end of file |
There was a problem hiding this comment.
application.yml에 client-authentication-method: client_secret_post를 추가해야 정상 동작 한다고 혜담님이 말씀주셨엇는데 #131 (comment)
한번 확인해보시면 좋을 것 같습니다. 다음에 올리실때 이 파일은 깃이그노어에 넣어주시면 더 좋을 것 같아요!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✏️ 작업 내용
#️⃣ 연관된 이슈
closes #126
💡 함께 공유하고 싶은 부분
🤔 질문
✅ 워크북 체크리스트
✅ 컨벤션 체크리스트
📌 주안점