From be00c913d58b8e257f42aa5147c695d50ce905a5 Mon Sep 17 00:00:00 2001 From: maxsibilla Date: Mon, 28 Aug 2023 14:52:39 -0400 Subject: [PATCH] Adding domain to cookie --- src/routes/auth/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/auth/__init__.py b/src/routes/auth/__init__.py index 4aa9698a..c36f57f2 100644 --- a/src/routes/auth/__init__.py +++ b/src/routes/auth/__init__.py @@ -102,7 +102,7 @@ def _login(redirect_uri, key = 'tokens'): # create a response for the user response = make_response(redirect(redirect_uri)) - response.set_cookie('info', base64_json_str, expires=2**31 - 1) + response.set_cookie('info', base64_json_str, expires=2**31 - 1, domain='.sennetconsortium.org') return response