diff --git a/src/applications/auth/oauth/provider/PhabricatorOAuthProviderGoogle.php b/src/applications/auth/oauth/provider/PhabricatorOAuthProviderGoogle.php index 6e4cbaced8..d88908904b 100644 --- a/src/applications/auth/oauth/provider/PhabricatorOAuthProviderGoogle.php +++ b/src/applications/auth/oauth/provider/PhabricatorOAuthProviderGoogle.php @@ -95,13 +95,15 @@ final class PhabricatorOAuthProviderGoogle extends PhabricatorOAuthProvider { } public function retrieveUserProfileImage() { - // No apparent API access to Plus yet. + $uri = idx($this->userData, 'picture'); + if ($uri) { + return HTTPSFuture::loadContent($uri); + } return null; } public function retrieveUserAccountURI() { - // No apparent API access to Plus yet. - return null; + return 'https://plus.google.com/'.$this->userData['id']; } public function retrieveUserRealName() {