Skip to content

Commit 4472cd1

Browse files
committed
Merge remote-tracking branch 'origin/main' into prod
2 parents 8e207c6 + 2ec7f9c commit 4472cd1

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

src/main/java/com/climbup/climbup/auth/service/CustomOAuth2UserService.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public class CustomOAuth2UserService extends DefaultOAuth2UserService {
3434
@Override
3535
@Transactional
3636
public OAuth2User loadUser(OAuth2UserRequest userRequest) throws OAuth2AuthenticationException {
37+
log.info("🚀 === CustomOAuth2UserService.loadUser 호출됨 ===");
38+
log.info("Provider: {}", userRequest.getClientRegistration().getRegistrationId());
39+
log.info("AccessToken: {}", userRequest.getAccessToken().getTokenValue().substring(0, 10) + "...");
3740
OAuth2User oauth2User = super.loadUser(userRequest);
3841
log.info("OAuth2 사용자 정보 조회 완료: {}", oauth2User.getAttributes());
3942

src/main/resources/application.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,15 @@ app:
9595
logging:
9696
level:
9797
root: INFO
98-
com.climbup.climbup: INFO
99-
org.springframework.security: WARN
100-
org.springframework.web.servlet.resource: ERROR
98+
# com.climbup.climbup: INFO
99+
# org.springframework.security: WARN
100+
org.springframework.security: DEBUG
101+
org.springframework.security.oauth2: DEBUG
102+
org.springframework.web: DEBUG
103+
com.climbup.climbup.auth: DEBUG
104+
# org.springframework.web.servlet.resource: ERROR
101105
org.hibernate.SQL: WARN
102-
com.zaxxer.hikari: DEBUG
106+
# com.zaxxer.hikari: DEBUG
103107

104108
auth:
105109
nickname:

0 commit comments

Comments
 (0)