-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: OAtuh / Security Logic 코드리뷰 반영 #8
Conversation
return memberRepository.findByProviderIdAndProviderType(kakaoProviderId, providerType) | ||
?: memberRepository.save(Member(kakaoProviderId, providerType, Role.ROLE_TEMP_USER)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
어때요? 조금 직관적으로 변했을까요?
@@ -1,5 +1,5 @@ | |||
package com.vacgom.backend.application.auth.dto | |||
|
|||
data class KakaoMemberResponse( | |||
data class ResourceIdResponse( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분은 나중에 인터페이스로 추상화해도 좋을 것 같아요.
다만 아직 공통 프로퍼티에 대한 정보가 없어 추상화까지는 필요 없다고 생각했어요.
fun securityTest(@AuthId id: UUID): ResponseEntity<String> { | ||
println("UUID/ id = ${id}") | ||
return ResponseEntity.ok("success!!") | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User ID 이런식으로 활용하시면 됩니다.
선머지 후리뷰 예정 |
* feat: Member Entity 필요 속성 추가 * feat: Configuration 계층 수정 * feat: Init Kakao Oauth / Redirect API * feat: OAuth2 Provider 기준 분기 후 로그인 API로 Redirect * feat: JWT 기본 로직 / ProviderId 기반 회원가입/로그인 로직 * chore: 패키지 구조 개선 * feat: JWT 연동 완료 및 구조 개선 * feat: OAtuh / Security Logic 코드리뷰 반영 (#8) * feat: JWT 연동 완료 및 구조 개선 * feat: OAuth2 구현 완료 * feat: 코틀린스러운 문법 수정
PULL REQUEST
🎋 Issue Ticket
🔑 주요 작업사항
🏞 (Optional) 참고 자료
(중요) 서브모듈이 수정되었나요?
꼭 확인해 주세요!!
feat/#1-1
->feat/#1
->develop
순으로 머지 예정입니다.