Skip to content

Commit

Permalink
Merge pull request #19 from 9oormthon-univ/feature/deploy/#3
Browse files Browse the repository at this point in the history
배포 테스트를 위한 merge
  • Loading branch information
BinarySstar authored Nov 23, 2024
2 parents ced2f5d + c8d45b8 commit 704652f
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,8 @@ public ResponseEntity<?> kakaoCallback(@RequestParam String code, HttpSession se
log.info("member: {}", member);

session.setAttribute("member", member);
String sessionId = session.getId();

return ResponseEntity.status(HttpStatus.FOUND)
.header("Set-Cookie", "sessionId=" + sessionId + "; Path=/; HttpOnly; Max-Age=3600")
.location(URI.create(frontendDomain)).build();
return ResponseEntity.status(HttpStatus.FOUND).location(URI.create(frontendDomain + "?id=" + member.getId())).build();
}

// 로그아웃
Expand Down

0 comments on commit 704652f

Please sign in to comment.