Conversation
[목적] - 사용자가 Google 계정을 통해 서비스에 로그인할 수 있도록 소셜 로그인 기능 제공 - 소셜 로그인 과정의 안정성 및 오류 처리 개선 [변경 내용] - Spring Security OAuth2 클라이언트 설정 및 연동 활성화 - `CustomOidcUserService`를 통해 Google OAuth2 사용자 정보(이메일, 이름, providerId) 기반 회원가입 또는 로그인 처리 로직 구현 - `OAuth2SuccessHandler` 및 `OAuth2FailureHandler`를 활용한 인증 성공/실패 후 리디렉션 처리 - `CustomAuthorizationRequestRepository`를 커스터마이징하여 OAuth2 인증 요청 세션 관리 로직 강화 - `SecurityConfig`에서 `DelegatingAuthenticationEntryPoint`를 설정하여 불필요한 인증 리다이렉션 방지 및 오류 처리 개선 [결과] - 사용자는 Google 계정으로 로그인하여 JWT 토큰을 발급받고 프론트엔드로 리디렉션될 수 있음 - `authorization_request_not_found` 오류 및 `saveAuthorizationRequest` 다중 호출 문제 해결로 로그인 흐름 안정화
- BaseException에 에러 로깅 추가
- project service 에러 로깅 추가
- projectController에서 api 요청 로깅
- 댓글 controller api 요청 로깅 - 레디스 테스트 controller api 요청 요깅
- project 도메인 서비스 로직에 로깅 추가 완료
[목적] - 아카이브 목록 데이터 처리 방식을 `Page`에서 `List` 기반으로 변경하고 DTO 매핑을 일관되게 적용 [변경 내용] - `toPortfolioDto` 메서드의 `archiveList` 파라미터 타입을 `Page<Archive>`에서 `List<Archive>`로 변경
[목적] - 이미 가입된 사용자가 자신의 계정에 소셜 계정을 연결하여, 이후 해당 소셜 로그인을 통해 간편하게 로그인할 수 있도록 한다. [변경 내용] - Spring Security가 생성한 고유 state값을 키의 일부로 사용하여, 연동에 필요한 정보를 세션에 저장한다. - `binding_state_token` 파라미터의 유무와 유효성을 검사하여, 일반 소셜 로그인 요청과 계정 연동 요청을 구분한다. [확인 필요] - 리다이렉션 url을 실제 프런트 주소로 변경해야함. - 로컬 환경에서 소셜 로그인 연동 시 세션이 유지되지 않아 로그를 통해 문제가 있는지 확인해야 함.
refactor: 아카이브 목록 DTO 매핑 방식 변경 및 최적화
feat : project 도메인 로깅 작업
Feat/jsb/social login
아카이브 관련 response 추가 및 수정
feat: 간단한 이메일 인증 폼 추가
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.
No description provided.