From 969ee82688de870c8031b23680ea24f0bb4761f4 Mon Sep 17 00:00:00 2001 From: Clovin Date: Fri, 2 Dec 2022 12:28:43 +0800 Subject: [PATCH] fix env issue --- backend/config/settings/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/config/settings/base.py b/backend/config/settings/base.py index 74ffab71..a0810621 100644 --- a/backend/config/settings/base.py +++ b/backend/config/settings/base.py @@ -284,11 +284,11 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField" SOCIALACCOUNT_PROVIDERS = { 'okta': { - 'OKTA_BASE_URL': env("OAUTH_OKTA_OAUTH2_API_URL"), + 'OKTA_BASE_URL': env("OAUTH_OKTA_OAUTH2_API_URL", ''), 'OAUTH_PKCE_ENABLED': True, 'APP': { - 'client_id': env("OAUTH_OKTA_OAUTH2_KEY"), - 'secret': env("OAUTH_OKTA_OAUTH2_SECRET") + 'client_id': env("OAUTH_OKTA_OAUTH2_KEY", ''), + 'secret': env("OAUTH_OKTA_OAUTH2_SECRET", '') } } } \ No newline at end of file