Skip to content

Commit

Permalink
chore(auth): Cookie secure 비활성화
Browse files Browse the repository at this point in the history
  • Loading branch information
0chil committed Nov 19, 2024
1 parent 63c465a commit 2bb700b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private ResponseCookie.ResponseCookieBuilder baseCookieFrom(String name, String
return ResponseCookie.from(name, value)
.maxAge(refreshTokenProvider.getExpiry().multipliedBy(2))
.httpOnly(true)
.secure(true)
// .secure(true)
.sameSite(SAME_SITE_OPTION);
}
}
2 changes: 2 additions & 0 deletions src/main/java/com/snackgame/server/config/WebMvcConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public void addCorsMappings(CorsRegistry registry) {
"https://dev." + HOST_NAME,
"https://dev-api." + HOST_NAME,
"https://*snack-game.vercel.app",
"https://dev.vingle.kr",
"https://vingle.kr",
"http://localhost:[*]"
)
.allowedMethods("GET", "POST", "DELETE", "PUT", "PATCH")
Expand Down

0 comments on commit 2bb700b

Please sign in to comment.