zulip/zproject
Mateusz Mandera 16829bd84b auth: Fix up AzureAD Oauth2 docs and config.
This commit brings AzureAD config in line with other backends:
- SOCIAL_AUTH_AZUREAD_OAUTH2_SECRET gets fetched in computed_settings.py
  instead of default_settings, consistent with github/gitlab/etc.
- SOCIAL_AUTH_AZUREAD_OAUTH2_KEY gets fetched in default_settings via
  get_secret(..., development_only=True) like other social backends, to
  allow easier set up in dev environment, in the dev-secrets.conf file.
- The secret gets renamed from azure_oauth2_secret to
  social_auth_azuread_oauth2_secret to have a consistent naming scheme with
  other social backends and with the SOCIAL_AUTH_AZUREAD_OAUTH2_KEY
  name. This is backwards-incompatible.

The instructions for setting it up are updated to fit how this is
currently done in AzureAD.
2022-09-06 11:58:08 -07:00
..
jinja2 requirements: Upgrade Python requirements. 2022-07-05 17:54:17 -07:00
__init__.py
backends.py rate_limiter: Extract rate limit related functions. 2022-08-12 16:51:55 -07:00
computed_settings.py auth: Fix up AzureAD Oauth2 docs and config. 2022-09-06 11:58:08 -07:00
config.py settings: Make SHARED_SECRET mandatory. 2022-08-25 12:13:03 -07:00
configured_settings.py
default_settings.py auth: Fix up AzureAD Oauth2 docs and config. 2022-09-06 11:58:08 -07:00
dev_settings.py settings: Add CUSTOM_HOME_NOT_LOGGED_IN for type narrowing. 2022-07-25 14:11:32 -07:00
dev_urls.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
email_backends.py email_backends: Fix type annotation of EmailLogBackEnd. 2022-07-29 14:58:11 -07:00
legacy_urls.py legacy_urls: Add type annotation to legacy_urls. 2022-08-12 17:08:04 -07:00
prod_settings.pyi zproject: Add prod_settings mypy stub, aliasing prod_settings_template. 2021-07-05 09:53:41 -07:00
prod_settings_template.py auth: Fix up AzureAD Oauth2 docs and config. 2022-09-06 11:58:08 -07:00
sentry.py requirements: Upgrade Python requirements. 2022-06-01 16:01:54 -07:00
settings.py
test_extra_settings.py settings: Extract unnecessary test specific settings. 2022-08-11 13:45:28 -07:00
test_settings.py
urls.py urls: Simplify process to add URL redirects for documentation pages. 2022-08-31 15:01:29 -07:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00