Conversation
feat: 큐레이션 추천 시스템 개선 및 코드 품질 향상
- KakaoOAuthController, KakaoOAuthService 추가 - 카카오 인가 코드 기반 로그인/회원가입 처리 - OAuth 사용자용 JWT 토큰 생성 메서드 추가 (JwtUtil) - 신규 카카오 가입 시 빈 독서취향 자동 생성 - User 엔티티에 provider, providerId 필드 추가 - password 컬럼 nullable 허용 (OAuth 사용자는 비밀번호 없음) - SecurityConfig에 OAuth 경로 permitAll 추가 - application-dev/local/prod.yml에 oauth.kakao 설정 추가 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: 카카오 소셜 로그인 구현
- 콜백에서 JSON 대신 프론트로 302 리다이렉트 - OAuthTempCodeStore: 임시 코드 저장 (30초 TTL, 일회용) - POST /api/v1/oauth/token 토큰 교환 엔드포인트 추가 - INVALID_OAUTH_CODE 에러 코드 추가
- application-dev.yml: 기본값 bookpick-front-dev.vercel.app - application-prod.yml: 환경변수로 설정 - application-local.yml: 환경변수로 설정
- OAuthTempCodeStore의 @scheduled 동작을 위한 설정
- OAuthTempCodeStoreTest: 임시 코드 단위 테스트 - KakaoOAuthControllerTest: 컨트롤러 통합 테스트 - application-test.yml: 테스트 환경 설정 - build.gradle: H2 테스트 의존성 추가
- deleteComment(userId, curationId, commentId) 파라미터 추가
feat[#104]: OAuth 임시 코드 방식 구현
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.
feat: 카카오 OAuth 도입 및 서비스 안정화
연관된 이슈 : #99 #100 #104 #105
1. 필요성
2. 진행 사항
KakaoOAuthController,KakaoOAuthService, 임시 코드 저장소)CurationLike유니크 제약조건 반영(동일 사용자 중복 좋아요 방지)3. 개선된 점
src/main/java204개 파일,src/test33개 파일,resources3개 파일 변경curation64개,user34개,auth29개,comment19개