Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

auth settings: Put Apple "Team ID" before the things it namespaces.

Greg Price0021dfe8e7f8
diff --git a/docs/production/authentication-methods.md b/docs/production/authentication-methods.md
index df413af78cd..1247cd480de 100644
--- a/docs/production/authentication-methods.md
+++ b/docs/production/authentication-methods.md
@@ -597,10 +597,11 @@ domain for your server).
```
1. Configure the "Apple authentication" section of
- `/etc/zulip/settings.py`. Use the "Services ID" as
+ `/etc/zulip/settings.py`. Use the "Team ID" as
+ `SOCIAL_AUTH_APPLE_TEAM`, "Services ID" as
`SOCIAL_AUTH_APPLE_SERVICES_ID`, "Bundle ID" as
- `SOCIAL_AUTH_APPLE_BUNDLE_ID`, "Key ID" as `SOCIAL_AUTH_APPLE_KEY`
- and "Team ID" as `SOCIAL_AUTH_APPLE_TEAM` in `settings.py` file.
+ `SOCIAL_AUTH_APPLE_BUNDLE_ID`, and "Key ID" as
+ `SOCIAL_AUTH_APPLE_KEY`.
1. In the Apple developer site, configure the domains your Zulip
server uses when sending outgoing email notifications. (This is
diff --git a/zproject/prod_settings_template.py b/zproject/prod_settings_template.py
index ceb6e6b48f2..0187552b294 100644
--- a/zproject/prod_settings_template.py
+++ b/zproject/prod_settings_template.py
@@ -292,9 +292,9 @@ SOCIAL_AUTH_SAML_SUPPORT_CONTACT = {
#
# https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#sign-in-with-apple
#
+#SOCIAL_AUTH_APPLE_TEAM = "<your Team ID>"
#SOCIAL_AUTH_APPLE_SERVICES_ID = "<your Services ID>"
#SOCIAL_AUTH_APPLE_BUNDLE_ID = "<your Bundle ID>"
-#SOCIAL_AUTH_APPLE_TEAM = "<your Team ID>"
#SOCIAL_AUTH_APPLE_KEY = "<your Key ID>"
########