diff --git a/src/main/java/com/finut/finut_server/controller/HomeController.java b/src/main/java/com/finut/finut_server/controller/HomeController.java index 7f6680a..40664c5 100644 --- a/src/main/java/com/finut/finut_server/controller/HomeController.java +++ b/src/main/java/com/finut/finut_server/controller/HomeController.java @@ -72,8 +72,8 @@ public ResponseEntity getTokens(@AuthenticationPrincipal OidcUser oidcUser, HttpHeaders headers = new HttpHeaders(); // accessToken을 Base64로 인코딩 - String encodedAccessToken = Base64.getEncoder().encodeToString(accessToken.getBytes()); - headers.setLocation(URI.create(redirectUri + "?email=" + user.getEmail() + "&accessToken=" + encodedAccessToken)); +// String encodedAccessToken = Base64.getEncoder().encodeToString(accessToken.getBytes()); + headers.setLocation(URI.create(redirectUri + "?email=" + user.getEmail() + "&accessToken=" + accessToken)); return new ResponseEntity<>(headers, HttpStatus.FOUND); // 302 Redirect } // @Operation(summary = "로그인 성공", description = "로그인 성공시 해당 api에 리다이렉션 되어 수행됩니다")