Conversation
added 4 commits
November 9, 2025 16:22
- build.gradle: oauth2-client, webflux 의존성 추가 - application.yml: 카카오, 구글 OAuth2 클라이언트 설정 추가 - Member 엔티티 및 관련 VO: provider, providerId, isVerified 등 소셜/인증 관련 필드 추가 - SecurityConfig: oauth2Login 설정 활성화 및 CustomOAuth2UserService 등록 - CustomOAuth2UserService: 소셜 사용자 정보 파싱 및 DB 저장/업데이트 로직 구현 - OAuthAttributes: 플랫폼별 사용자 정보 표준화 DTO 구현
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.
🔍 PR 타입 선택
아래 타입 중 해당하는 하나를 선택해 주세요. 반드시 하나만 선택해 주세요.
feat: 새로운 기능 추가fix: 버그 수정docs: 문서 수정style: 코드 포맷팅, 세미콜론 누락, 코드 변경이 없는 경우refactor: 코드 리팩토링test: 테스트 코드 추가 또는 수정chore: 빌드 업무 수정, 패키지 매니저 수정 등 기타 작업📝 변경 사항 요약
Auth 서비스의 핵심 인증 시스템인 **소셜 로그인(OAuth2)**과 **JWT 기반 인증/인가를 구현
특히 사용자 편의성과 보안을 위해 Silent Refresh (토큰 자동 재발급) 및 RTR (Refresh Token Rotation) 전략 적용
🌟 주요 구현 내용
인증/인가 시스템 (Authentication)
parseClaims) 구현SuccessHandler를 통한 보안 쿠키(HttpOnly) 발급보안 및 토큰 전략 (Security Strategy)
POST /auth/reissueAPI를 구현하여, 프론트엔드에서 쿠키를 통해 조용히 토큰을 갱신할 수 있도록 지원테스트 코드 (Tests)
@WebMvcTest를 활용한 API 통합 테스트 (Cookie 설정, JSON 응답 검증)🛠 관련 이슈
Resolves: #22
Ref: #
Related to: #
close: #
추가 설명 (선택 사항)
🧪 테스트 실행 결과
AuthService및AuthController테스트가 모두 성공적으로 통과했습니다.