mirror of https://github.com/zulip/zulip.git
Document how to setup Google auth for Zulip voyager.
This commit is contained in:
parent
140e598a89
commit
5dd330e769
|
@ -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:
|
||||
|
|
|
@ -23,6 +23,14 @@ AUTHENTICATION_BACKENDS = (
|
|||
# '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
|
||||
|
|
Loading…
Reference in New Issue