diff --git a/zproject/urls.py b/zproject/urls.py index cbfc02ed9d..982b36d3f0 100644 --- a/zproject/urls.py +++ b/zproject/urls.py @@ -423,6 +423,13 @@ i18n_urls = [ url(r'^accounts/login/jwt/$', zerver.views.auth.remote_user_jwt, name='login-jwt'), url(r'^accounts/login/social/([\w,-]+)$', zerver.views.auth.start_social_login, name='login-social'), + # Backwards-compatibility (legacy) Google auth URL for the mobile + # apps; see https://github.com/zulip/zulip/issues/13081 for + # background. We can remove this once older versions of the + # mobile app are no longer present in the wild. + url(r'^accounts/login/(google)/$', zerver.views.auth.start_social_login, + name='login-social'), + url(r'^accounts/register/social/([\w,-]+)$', zerver.views.auth.start_social_signup, name='signup-social'),