mirror of https://github.com/zulip/zulip.git
Build the oauth redirect url with the host from the request
(imported from commit 972fed686b556bc8845cf7ae5bca555dc9cbeb13)
This commit is contained in:
parent
7e9c121ad3
commit
35d22949ed
|
@ -721,7 +721,7 @@ def start_google_oauth2(request):
|
|||
'client_id': settings.GOOGLE_OAUTH2_CLIENT_ID,
|
||||
'redirect_uri': ''.join((
|
||||
settings.EXTERNAL_URI_SCHEME,
|
||||
settings.EXTERNAL_HOST,
|
||||
request.get_host(),
|
||||
reverse('zerver.views.finish_google_oauth2'),
|
||||
)),
|
||||
'scope': 'profile email',
|
||||
|
|
Loading…
Reference in New Issue