mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
add aditional provider settings
This commit is contained in:
parent
0eb9d3ad5b
commit
f730702a7d
@ -660,6 +660,8 @@ SOCIAL_BACKENDS = CONFIG.get('social_backends', [])
|
||||
for app in SOCIAL_BACKENDS:
|
||||
INSTALLED_APPS.append(app)
|
||||
|
||||
SOCIALACCOUNT_PROVIDERS = CONFIG.get('social_providers', [])
|
||||
|
||||
# settings for allauth
|
||||
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = get_setting('INVENTREE_LOGIN_CONFIRM_DAYS', CONFIG.get('login_confirm_days', 3))
|
||||
|
||||
|
@ -168,4 +168,11 @@ static_root: '/home/inventree/data/static'
|
||||
|
||||
# Add SSO login-backends
|
||||
# social_backends:
|
||||
# - 'allauth.socialaccount.providers.github'
|
||||
# - 'allauth.socialaccount.providers.keycloak'
|
||||
|
||||
# Add specific settings
|
||||
# social_providers:
|
||||
# keycloak:
|
||||
# KEYCLOAK_URL: 'https://keycloak.custom/auth'
|
||||
# KEYCLOAK_REALM: 'master'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user