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

I believe the Bundle ID (aka App ID) and Services ID have meaning only
relative to a specific Team ID.  In particular, in some places in the
developer.apple.com UI, they're displayed in a fully-qualified form
like "ABCDE12345.com.example.app", where "com.example.app" is the
App ID or Services ID and ABCDE12345 is the Team ID.
This commit is contained in:
Greg Price
2020-06-23 18:23:49 -07:00
parent 9b620dfe6c
commit 0021dfe8e7
2 changed files with 5 additions and 4 deletions

View File

@@ -597,10 +597,11 @@ domain for your server).
``` ```
1. Configure the "Apple authentication" section of 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_SERVICES_ID`, "Bundle ID" as
`SOCIAL_AUTH_APPLE_BUNDLE_ID`, "Key ID" as `SOCIAL_AUTH_APPLE_KEY` `SOCIAL_AUTH_APPLE_BUNDLE_ID`, and "Key ID" as
and "Team ID" as `SOCIAL_AUTH_APPLE_TEAM` in `settings.py` file. `SOCIAL_AUTH_APPLE_KEY`.
1. In the Apple developer site, configure the domains your Zulip 1. In the Apple developer site, configure the domains your Zulip
server uses when sending outgoing email notifications. (This is server uses when sending outgoing email notifications. (This is

View File

@@ -292,9 +292,9 @@ SOCIAL_AUTH_SAML_SUPPORT_CONTACT = {
# #
# https://zulip.readthedocs.io/en/latest/production/authentication-methods.html#sign-in-with-apple # 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_SERVICES_ID = "<your Services ID>"
#SOCIAL_AUTH_APPLE_BUNDLE_ID = "<your Bundle ID>" #SOCIAL_AUTH_APPLE_BUNDLE_ID = "<your Bundle ID>"
#SOCIAL_AUTH_APPLE_TEAM = "<your Team ID>"
#SOCIAL_AUTH_APPLE_KEY = "<your Key ID>" #SOCIAL_AUTH_APPLE_KEY = "<your Key ID>"
######## ########