Skip to content

Commit

Permalink
Merge pull request #144 from APPS-sookmyung/dev
Browse files Browse the repository at this point in the history
[Dev] http 허용
  • Loading branch information
lhaerim authored Dec 22, 2024
2 parents 2e20616 + 97b68cb commit e519364
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public ResponseEntity<?> callback(@RequestParam("code") String code, HttpServlet
// 5. 쿠키에 JWT 저장
Cookie jwtCookie = new Cookie("jwtToken", jwtToken);
jwtCookie.setHttpOnly(true); // JavaScript로 쿠키에 접근 불가
jwtCookie.setSecure(true); // HTTPS에서만 전송
// jwtCookie.setSecure(true); // HTTPS에서만 전송
jwtCookie.setMaxAge(60 * 60 * 24); // 쿠키 유효 시간 설정
jwtCookie.setPath("/"); // 쿠키를 모든 경로에 적용
jwtCookie.setDomain("netlify.app");
Expand Down

0 comments on commit e519364

Please sign in to comment.