Skip to content

Commit

Permalink
Document how to setup Google auth for Zulip voyager.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed Sep 26, 2015
1 parent 140e598 commit 5dd330e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion zproject/backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ class GoogleMobileOauth2Backend(ZulipAuthMixin):
https://developers.google.com/+/mobile/android/sign-in#server-side_access_for_your_app
https://developers.google.com/accounts/docs/CrossClientAuth#offlineAccess
This backend is not currently supported on voyager.
"""
def authenticate(self, google_oauth2_token=None, return_data={}):
try:
Expand Down
8 changes: 8 additions & 0 deletions zproject/local_settings_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
# 'zproject.backends.GoogleMobileOauth2Backend', # Google Apps, setup below
)

# Google Oauth requires a bit of configuration; you will need to go to
# https://console.developers.google.com, setup an Oauth2 client ID
# that allows redirects to
# e.g. https://zulip.example.com/accounts/login/google/done/ put your
# client secret as "google_oauth2_client_secret" in
# zulip-secrets.conf, and your cleitn ID here:
# GOOGLE_OAUTH2_CLIENT_ID=<your client ID from Google>

# If you are using the ZulipRemoteUserBackend authentication backend,
# set this to your domain (e.g. if REMOTE_USER is "username" and the
# corresponding email address is "username@example.com", set
Expand Down

0 comments on commit 5dd330e

Please sign in to comment.