Skip to content
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] 회원가입 구현 #67

Merged
merged 63 commits into from
Feb 22, 2025
Merged

[✨feat] 회원가입 구현 #67

merged 63 commits into from
Feb 22, 2025

Conversation

0-tae
Copy link
Contributor

@0-tae 0-tae commented Feb 21, 2025

🚀 What’s this PR about?

  • 작업 내용 요약: Kakao, Google 소셜 회원가입 구현 하였습니다.

🛠️ What’s been done?

  • 주요 변경사항을 상세히 기술하세요. (예: 새로운 기능 추가, 버그 수정, 코드 리팩토링 등)

    • oauth-config.yml 추가, application.yml에 import
    image
    • Kakao, Google 회원가입 API 구현, 인가코드를 통해 AccessToken, RefreshToken, AuthId 발급구현
    • 액세스 토큰 확인 관련 인터셉터 추가, JWT 및 JWTProvider클래스 구현

🧪 Testing Details

  • 테스트 코드 및 결과: 작성한 테스트 코드와 주요 테스트 케이스를 설명하고, 통과된 테스트 결과를 요약해 주세요.
    • 테스트 코드는 작성하기에 남은 시간이 부족해서 일부만 작성 했습니다.. 추후 추가 하겠습니다 🥲
    • 대신 소셜 회원가입 테스트를 진행하여 refreshToken, AccessToken, AuthId 정상적으로 불러오고, 예외처리 확인 완료 하였습니다. (중복 가입 방지, 외부 API 에러)

👀 Checkpoints for Reviewers

  • 리뷰 시 확인할 사항:
    • 코드가 많이 추가되었기 때문에, 종합적으로 확인 부탁드립니다.
    • 충돌 해결 진행 중에 있습니다.

🎯 Related Issues

0-tae added 30 commits February 17, 2025 17:56
- 관련 ErrorCode 메시지 추가
- try-catch 구문으로 예외 제어
- AuthInfo가 Member를 외래키로 가지도록 설정
- Member에서 refreshToken, authId, authType 값을 분리
- 멤버 생성 createMember 메소드 구현
- Member 생성에 필요한 AuthInfo 관련 파라미터 삭제
- auth를 제외한 모든 경로에 적용
- AuthInfo 생성을 이한 createAuthInfo 구현
- 카카오 서버 토큰 요청을 위한 requestToken 구현
- 내부에 KakaoErrorInfo 구현하여 에러 여부 확인
- 기존 Oauth 용어인 Code로 명칭 통일
- S3Storage Bean 주입 메소드 작성
- Object -> String 파라미터 타입 수정
0-tae added 23 commits February 20, 2025 19:25
- KakaoTokenRequestFactory, RestClient Bean 등록
- 외부 AccessToken 정보를 담기 위해 정의
- JsonUnWrapped 어노테이션 미지원으로 인한 삭제
- AuthType별 Kakao, Google 서비스 선택을 위한 팩토리 클래스 정의
- Kakao 회원가입 구현
- 액세스 토큰 정보 가져오기 구현 보류, 관련하여 TODO 표시 및 주석처리 (403 에러로 인한 보류)
- 예정 작업 TODO 표시 및 주석처리
- Value 어노테이션 선언을 Factory에 이전 및 컴포넌트 선언
@0-tae 0-tae added ✨ feat Something isn't working 🦖 용태 🦖 Further information is requested labels Feb 21, 2025
@0-tae 0-tae self-assigned this Feb 21, 2025
@0-tae 0-tae merged commit ce3e546 into develop Feb 22, 2025
1 check passed
@jsoonworld jsoonworld self-requested a review February 23, 2025 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat Something isn't working 🦖 용태 🦖 Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant