From c66eef089b2758f653c5b349fff95a1c6320f551 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Wed, 22 Feb 2023 13:23:44 +0900 Subject: [PATCH] Add SITE_ID to base.py Fix "Site matching query does not exist." error --- backend/config/settings/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/config/settings/base.py b/backend/config/settings/base.py index a5b7e40f..24f2f6f7 100644 --- a/backend/config/settings/base.py +++ b/backend/config/settings/base.py @@ -290,3 +290,5 @@ SOCIALACCOUNT_PROVIDERS = { "APP": {"client_id": env("OAUTH_OKTA_OAUTH2_KEY", ""), "secret": env("OAUTH_OKTA_OAUTH2_SECRET", "")}, } } + +SITE_ID = 1