From fd289920e13ad16155908de76ba889bdf2355088 Mon Sep 17 00:00:00 2001 From: mybloom Date: Fri, 10 Jun 2022 08:09:50 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8A=A4=ED=94=84=EB=A7=81=20=EB=B9=88?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=83=9D=EC=84=B1=EB=90=9C=20JwtTokenProv?= =?UTF-8?q?ider=20=EB=A5=BC=20=EC=BD=94=EB=93=9C=EC=83=81=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=A7=81=EC=A0=91=20new=EB=A1=9C=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=ED=95=98=EC=97=AC=EC=84=9C=20@Value=EA=B0=80=20?= =?UTF-8?q?=EC=85=8B=ED=8C=85=EB=90=98=EC=A7=80=20=EC=95=8A=EC=9D=80=20?= =?UTF-8?q?=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0=20(ios-h/airbnb#35)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/main/java/org/team4/airbnb/auth/OAuthService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java b/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java index 1353ed062..09402a68e 100644 --- a/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java +++ b/BE/src/main/java/org/team4/airbnb/auth/OAuthService.java @@ -25,6 +25,7 @@ public class OAuthService { private final MemoryProviderRepository memoryProviderRepository; private final CustomerRepository customerRepository; + private final JwtTokenProvider jwtTokenProvider; public LoginResponse processLogin(String provider, String authCode) { OauthProvider oauthProvider = memoryProviderRepository.findByProviderName(provider); @@ -52,7 +53,6 @@ public LoginResponse processLogin(String provider, String authCode) { } //4. JWT 토큰 생성 후 응답 DTO 전달 - JwtTokenProvider jwtTokenProvider = new JwtTokenProvider(); String accessToken = jwtTokenProvider.createAccessToken(userIdViaUserProfile); String refreshToken = jwtTokenProvider.createRefreshToken();