diff --git a/backend/backend/settings/base.py b/backend/backend/settings/base.py index e43bfbeac..3982dfb71 100644 --- a/backend/backend/settings/base.py +++ b/backend/backend/settings/base.py @@ -108,6 +108,8 @@ def get_required_setting( SESSION_EXPIRATION_TIME_IN_SECOND = os.environ.get( "SESSION_EXPIRATION_TIME_IN_SECOND", 3600 ) +SESSION_COOKIE_SECURE=True +CSRF_COOKIE_SECURE=True PATH_PREFIX = os.environ.get("PATH_PREFIX", "api/v1").strip("/") API_DEPLOYMENT_PATH_PREFIX = os.environ.get(