diff --git a/api/authentication.go b/api/authentication.go index 8e48d71..97c86c8 100644 --- a/api/authentication.go +++ b/api/authentication.go @@ -114,6 +114,7 @@ func authMiddleware(next http.Handler) http.Handler { http.SetCookie(w, &http.Cookie{ Name: cookieName, Value: tokenString, + Path: "/", HttpOnly: true, SameSite: http.SameSiteStrictMode, MaxAge: int(cookieTTL.Seconds()),