We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44a9bd0 commit aebce2cCopy full SHA for aebce2c
1 file changed
src/main/java/com/api/tokbaro/domain/user/service/UserServiceImpl.java
@@ -83,6 +83,7 @@ public SignInUserRes appleLogin(AppleIdReq appleIdReq) {
83
JWTClaimsSet claims;
84
try{
85
claims = appleJwtVerifier.verify(appleIdReq.getIdentityToken());
86
+ log.info("Apple identityToken claims: {}", claims.getClaims().toString());
87
}catch (BadJOSEException e){
88
throw new CustomException(UserErrorResponseCode.INVALID_APPLE_ID_TOKEN_401);
89
}
@@ -108,7 +109,6 @@ public SignInUserRes appleLogin(AppleIdReq appleIdReq) {
108
109
if(userRepository.existsByUsername(email)){
110
throw new CustomException(UserErrorResponseCode.DUPLICATE_USERNAME_409);
111
-
112
user = User.builder()
113
.username(email)
114
.appleId(appleId)
0 commit comments