From 6a7fd24a268ac8788a7b6150fc20e57f0e694196 Mon Sep 17 00:00:00 2001 From: Levko Kravets Date: Thu, 6 Jun 2019 13:42:54 +0300 Subject: [PATCH] Force a Choose account step for Google OAuth --- redash/authentication/google_oauth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redash/authentication/google_oauth.py b/redash/authentication/google_oauth.py index 3e39c5dc42..f0de8b2425 100644 --- a/redash/authentication/google_oauth.py +++ b/redash/authentication/google_oauth.py @@ -17,7 +17,7 @@ def google_remote_app(): if 'google' not in oauth.remote_apps: oauth.remote_app('google', base_url='https://www.google.com/accounts/', - authorize_url='https://accounts.google.com/o/oauth2/auth', + authorize_url='https://accounts.google.com/o/oauth2/auth?prompt=select_account+consent', request_token_url=None, request_token_params={ 'scope': 'https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile',