diff --git a/redash/authentication/google_oauth.py b/redash/authentication/google_oauth.py index 005e5df24..6d1b7ace2 100644 --- a/redash/authentication/google_oauth.py +++ b/redash/authentication/google_oauth.py @@ -116,7 +116,8 @@ def authorized(): flash("Your Google Apps account ({}) isn't allowed.".format(profile['email'])) return redirect(url_for('redash.login', org_slug=org.slug)) - create_and_login_user(org, profile['name'], profile['email'], profile['picture']) + picture_url = "%s?sz=40" % profile['picture'] + create_and_login_user(org, profile['name'], profile['email'], picture_url) next_path = request.args.get('state') or url_for("redash.index", org_slug=org.slug)