From b57bec2e19e83489711ac8c98e7d595903eaad91 Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Fri, 24 Apr 2020 18:02:26 +0300 Subject: [PATCH] [OpenID] Feature: Provider\Steam - populate pictureURL from avatarfull, fix #117 --- Provider/Steam.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Provider/Steam.php b/Provider/Steam.php index 135a68d..74a3494 100644 --- a/Provider/Steam.php +++ b/Provider/Steam.php @@ -75,7 +75,8 @@ public function getIdentity(AccessTokenInterface $accessToken) $hydrator = new ArrayHydrator([ 'steamid' => 'id', 'personaname' => 'username', - 'realname' => 'fullname' + 'realname' => 'fullname', + 'avatarfull' => 'pictureURL', ]); return $hydrator->hydrate(new User(), $response['response']['players'][0]);