diff --git a/api/handlers/authHandler.go b/api/handlers/authHandler.go index 9364261..e4666cb 100644 --- a/api/handlers/authHandler.go +++ b/api/handlers/authHandler.go @@ -41,10 +41,10 @@ func Login(w http.ResponseWriter, r *http.Request) { if jwtToken != "" { cookie := &http.Cookie{Name: "jwt", - Value: jwtToken, - HttpOnly: true, - Secure: true, - SameSite: http.SameSiteStrictMode, + Value: jwtToken, + //HttpOnly: true, + //Secure: true, + SameSite: http.SameSiteLaxMode, Expires: time.Now().Add(24 * time.Hour), }