From 57308e966474caff57ab44bdeb2c5eccf14c83f6 Mon Sep 17 00:00:00 2001 From: Mahfouz Date: Thu, 11 Jan 2024 16:33:05 +0000 Subject: [PATCH] Setting cookies after jwt auth obtain call is made --- emgcli/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/emgcli/settings.py b/emgcli/settings.py index e7e72017e..3a3fc9d7b 100644 --- a/emgcli/settings.py +++ b/emgcli/settings.py @@ -518,6 +518,7 @@ def create_secret_key(var_dir): JWT_AUTH = { 'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=108000), 'JWT_AUTH_HEADER_PREFIX': 'Bearer', + 'JWT_AUTH_COOKIE': 'EMG_AUTH', } try: