mirror of https://github.com/zulip/zulip.git
833dce8a13
Replace the SOCIAL_AUTH_SYNC_CUSTOM_ATTRS_DICT with SOCIAL_AUTH_SYNC_ATTRS_DICT, designed to support also regular user attrs like role or full name (in the future). Custom attributes can stay configured as they were and will get merged into SOCIAL_AUTH_SYNC_ATTRS_DICT in computed_settings, or can be specified in SOCIAL_AUTH_SYNC_ATTRS_DICT directly with "custom__" prefix. The role sync is plumbed through to user creation, so users can immediately be created with their intended role as provided by the IdP when they're creating their account, even when doing this flow without an invitiation. |
||
---|---|---|
.. | ||
jinja2 | ||
__init__.py | ||
backends.py | ||
computed_settings.py | ||
config.py | ||
configured_settings.py | ||
default_settings.py | ||
dev_settings.py | ||
dev_urls.py | ||
email_backends.py | ||
prod_settings.pyi | ||
prod_settings_template.py | ||
sentry.py | ||
settings.py | ||
settings_types.py | ||
template_loaders.py | ||
test_extra_settings.py | ||
test_settings.py | ||
urls.py | ||
wsgi.py |