Skip to content

Commit 428ff3b

Browse files
committed
feat: 디버깅 관련 코드 추가
1 parent fabee65 commit 428ff3b

File tree

1 file changed

+4
-0
lines changed
  • src/main/java/com/example/travelbag/domain/member/controller/api/auth/status

1 file changed

+4
-0
lines changed

src/main/java/com/example/travelbag/domain/member/controller/api/auth/status/AuthController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ public ResponseEntity<Map<String, Object>> getAuthStatus(Authentication authenti
6666
@GetMapping("/token")
6767
public ResponseEntity<Map<String, String>> getAccessToken(Authentication authentication,
6868
@Autowired OAuth2AuthorizedClientService authorizedClientService) {
69+
70+
System.out.println("Access Token Endpoint Called");
71+
6972
if (authentication == null) {
73+
System.out.println("Authentication object is null.");
7074
return ResponseEntity.status(401).body(Map.of("error", "User not authenticated"));
7175
}
7276

0 commit comments

Comments
 (0)