Skip to content

Commit

Permalink
[BE] 쿠키 헤더의 SameSite 옵션을 변경 (#295)
Browse files Browse the repository at this point in the history
refactor(CookieManager): 명시적인 쿠키 sameSite 설정을 제거
  • Loading branch information
seokmyungham authored Aug 22, 2024
1 parent 8431474 commit 8b2c8df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/src/main/java/kr/momo/controller/CookieManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
public class CookieManager {

private static final String ACCESS_TOKEN = "ACCESS_TOKEN";
private static final String SAME_SITE_OPTION = "None";
private static final long SESSION_COOKIE_AGE = -1;
private static final long EXPIRED_COOKIE_AGE = 0;

Expand All @@ -32,7 +31,6 @@ private String createCookie(String value, String path, long maxAge) {
.secure(true)
.domain(cookieDomain)
.path(path)
.sameSite(SAME_SITE_OPTION)
.maxAge(maxAge)
.build()
.toString();
Expand Down

0 comments on commit 8b2c8df

Please sign in to comment.