File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
global/security/token/service Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -73,9 +73,13 @@ public UserProfileResponse getUserProfile(Long userId) {
7373 User user = userRepository .findById (userId )
7474 .orElseThrow (() -> new NotFoundException (ErrorCode .USER_NOT_FOUND ));
7575
76+ log .info ("User profile: {}" , user );
77+
7678 UserUniversity userUniversity = userUniversityRepository .findByUserId (userId )
7779 .orElseGet (UserUniversity ::new );
7880
81+ log .info ("User university: {}" , userUniversity );
82+
7983 return UserProfileResponse .from (user , userUniversity );
8084 }
8185
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ private void validateExpiration(RefreshToken token) {
8888 }
8989
9090 public JwtAuthenticationToken getAuthenticationByAccessToken (String accessToken ) {
91+ log .info ("Test Access Token ={}" , accessToken );
92+
9193 jwtTokenProvider .validateToken (accessToken );
9294
9395 Claims claims = jwtTokenProvider .getClaims (accessToken );
Original file line number Diff line number Diff line change 6363 issuer : MONEYMONG
6464 secret-key : ${JWT_SECRET_KEY}
6565 expiry-seconds :
66- access-token : 30
67- refresh-token : 60
66+ access-token : 1800
67+ refresh-token : 1209600
You can’t perform that action at this time.
0 commit comments