From f4830204b6ec40be176623d55386cc40c1fec73f Mon Sep 17 00:00:00 2001 From: mia Date: Mon, 8 Jul 2024 01:52:49 -0700 Subject: make auth cookies samesite=lax --- nginx/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/sync.py b/nginx/sync.py index b715d41..9b02c45 100644 --- a/nginx/sync.py +++ b/nginx/sync.py @@ -34,7 +34,7 @@ auth_locations = ( } location /.nginx/cookie { - add_header Set-Cookie "__proxy_token=${arg_token}; max-age=${arg_max_age}; path=/; samesite=strict; httponly; secure"; + add_header Set-Cookie "__proxy_token=${arg_token}; max-age=${arg_max_age}; path=/; httponly; secure"; return 200; }""" ) -- cgit 1.4.1