diff --git a/src/main/kotlin/com/stepbookstep/server/domain/auth/application/AuthService.kt b/src/main/kotlin/com/stepbookstep/server/domain/auth/application/AuthService.kt index 3fc3c75..f95a065 100644 --- a/src/main/kotlin/com/stepbookstep/server/domain/auth/application/AuthService.kt +++ b/src/main/kotlin/com/stepbookstep/server/domain/auth/application/AuthService.kt @@ -59,6 +59,7 @@ class AuthService( refreshTokenService.save(userId = user.id, refreshToken = refreshToken) return KakaoLoginResponse( + userId=user.id, accessToken = accessToken, refreshToken = refreshToken, signupType = signupType, @@ -100,6 +101,7 @@ class AuthService( refreshTokenService.save(userId = user.id, refreshToken = refreshToken) return KakaoLoginResponse( + userId=user.id, accessToken = accessToken, refreshToken = refreshToken, signupType = signupType, diff --git a/src/main/kotlin/com/stepbookstep/server/domain/auth/application/dto/KakaoLoginResponse.kt b/src/main/kotlin/com/stepbookstep/server/domain/auth/application/dto/KakaoLoginResponse.kt index c42240d..660f1fb 100644 --- a/src/main/kotlin/com/stepbookstep/server/domain/auth/application/dto/KakaoLoginResponse.kt +++ b/src/main/kotlin/com/stepbookstep/server/domain/auth/application/dto/KakaoLoginResponse.kt @@ -3,6 +3,7 @@ package com.stepbookstep.server.domain.auth.application.dto import com.stepbookstep.server.domain.user.domain.SignupType data class KakaoLoginResponse( + val userId: Long, val accessToken: String, val refreshToken: String, val signupType: SignupType,