Browse Source

fix env issue

pull/2079/head
Clovin 1 year ago
parent
commit
969ee82688
1 changed files with 3 additions and 3 deletions
  1. 6
      backend/config/settings/base.py

6
backend/config/settings/base.py

@ -284,11 +284,11 @@ DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
SOCIALACCOUNT_PROVIDERS = { SOCIALACCOUNT_PROVIDERS = {
'okta': { 'okta': {
'OKTA_BASE_URL': env("OAUTH_OKTA_OAUTH2_API_URL"),
'OKTA_BASE_URL': env("OAUTH_OKTA_OAUTH2_API_URL", ''),
'OAUTH_PKCE_ENABLED': True, 'OAUTH_PKCE_ENABLED': True,
'APP': { '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", '')
} }
} }
} }
Loading…
Cancel
Save