File tree Expand file tree Collapse file tree
src/main/java/com/matzip/auth/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515import com .matzip .common .response .ApiResponse ;
1616import jakarta .validation .constraints .NotBlank ;
1717import lombok .RequiredArgsConstructor ;
18+ import lombok .extern .slf4j .Slf4j ;
1819import org .springframework .http .HttpHeaders ;
1920import org .springframework .http .ResponseCookie ;
2021import org .springframework .http .ResponseEntity ;
2425import java .time .Duration ;
2526
2627
28+ @ Slf4j
2729@ RestController
2830@ RequestMapping ("/api/v1/auth" )
2931@ RequiredArgsConstructor
@@ -146,6 +148,7 @@ public ResponseEntity<Void> kakaoCallback(
146148 // 로그인 실패 (State는 정상이었으나, code가 만료되었거나 등등)
147149 // origin은 신뢰할 수 있으므로, 해당 origin의 실패 페이지로 보냄
148150 String location = origin + redirectProperties .getFailurePath () + "?error=" + e .getErrorCode ().getCode ();
151+ log .info (e .getMessage ());
149152
150153 return ResponseEntity .status (302 )
151154 .header (HttpHeaders .LOCATION , location )
You can’t perform that action at this time.
0 commit comments