We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2d7c34 commit 6639f45Copy full SHA for 6639f45
src/main/java/com/ase/angelos_kb_backend/controller/UserController.java
@@ -158,7 +158,7 @@ public ResponseEntity<Void> logout() {
158
// Create a cookie with the same name and attributes but zero max-age to remove it
159
HttpCookie invalidCookie = ResponseCookie.from("refreshToken", "")
160
.httpOnly(true)
161
- .secure(false)
+ .secure(true)
162
.sameSite("Strict")
163
.path("/")
164
.maxAge(0) // Invalidate the cookie immediately
0 commit comments