From 34c7e73dbefeccca4552adb4041f443ede314e88 Mon Sep 17 00:00:00 2001
From: Chris Hines <chris.hines@monash.edu>
Date: Wed, 7 Aug 2019 12:07:03 +0800
Subject: [PATCH] now I'm just trying different things

---
 TES/tes/apiendpoints.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/TES/tes/apiendpoints.py b/TES/tes/apiendpoints.py
index a3cd957..65c6a30 100644
--- a/TES/tes/apiendpoints.py
+++ b/TES/tes/apiendpoints.py
@@ -475,7 +475,7 @@ class CreateTunnel(Resource):
                    localbind=localbind, authtok=authtok)
         response = make_response("")
         response.mime_type = 'application/json'
-        response.set_cookie('twsproxyauth', authtok, httponly=True,samesite='Lax')
+        response.set_cookie('twsproxyauth', authtok, httponly=True,secure=True,samesite='Strict')
         logger.debug('JobConnect.connect: connecting via redirect with cookie authtok set to  {}'.format(authtok))
         return response
 
-- 
GitLab