fix(auth): 로그아웃 시 프록시 캐시 쿠키 삭제 수정 #28

병합
htlee develop 에서 main 로 6 commits 를 머지했습니다 2026-02-19 15:26:14 +09:00
Showing only changes of commit 299d8bd333 - Show all commits

파일 보기

@ -227,9 +227,11 @@ public class AuthController {
private void clearSessionCookies(HttpServletResponse response) {
response.addHeader(HttpHeaders.SET_COOKIE,
ResponseCookie.from("GC_SESSION", "").path("/").maxAge(0).build().toString());
ResponseCookie.from("GC_SESSION", "")
.path("/").httpOnly(true).secure(true).sameSite("Lax").maxAge(0).build().toString());
response.addHeader(HttpHeaders.SET_COOKIE,
ResponseCookie.from("gc_proxy_auth", "").path("/").maxAge(0).build().toString());
ResponseCookie.from("gc_proxy_auth", "")
.path("/").httpOnly(true).secure(true).sameSite("Lax").maxAge(0).build().toString());
}
private String getCookieValue(HttpServletRequest request, String name) {