mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
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.