Skip to content

Commit

Permalink
chore: 디버깅을 위한 로그를 추가한다.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlarltj committed Jul 25, 2024
1 parent 254fb6d commit fd0e5c7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
import com.moneymong.global.security.token.dto.Tokens;
import com.moneymong.global.security.token.service.TokenService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Slf4j
@RequiredArgsConstructor
public class UserFacadeService {
private final UserService userService;
Expand All @@ -25,6 +28,8 @@ public class UserFacadeService {
public LoginSuccessResponse login(LoginRequest loginRequest) {
OAuthUserDataResponse oAuthUserData = oAuthService.login(loginRequest);

log.info("Token = {}", loginRequest.getAccessToken());

OAuthUserInfo oAuthUserInfo = OAuthUserInfo.from(oAuthUserData);

AuthUserInfo registerResult = userService.getOrRegister(oAuthUserInfo);
Expand Down

0 comments on commit fd0e5c7

Please sign in to comment.