Merge pull request #105 from TeamBNBN/BE/user
feat: refreshToken cookie 설정
This commit is contained in:
commit
9f366ae805
@ -77,7 +77,7 @@ public class UserController {
|
||||
Cookie refreshCookie = new Cookie("refresh-token", refreshToken);
|
||||
refreshCookie.setPath("/");
|
||||
refreshCookie.setHttpOnly(true);
|
||||
refreshCookie.setSecure(true); // HTTPS에서만 전송되도록 설정
|
||||
// refreshCookie.setSecure(true); // HTTPS에서만 전송되도록 설정
|
||||
// refreshCookie.setSameSite(Cookie.SameSite.NONE); // Cross-Origin 요청에 대해 모두 전송
|
||||
|
||||
response.addCookie(refreshCookie);
|
||||
|
Loading…
Reference in New Issue
Block a user