Skip to content

Commit

Permalink
[Steam] Use HTTPS (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbashy authored and faustbrian committed Feb 3, 2017
1 parent 6b47929 commit c1c49a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function getAuthUrl($state)
{
$openID = $this->getOpenID();

$openID->identity = 'http://steamcommunity.com/openid';
$openID->identity = 'https://steamcommunity.com/openid';

return $openID->authUrl();
}
Expand Down Expand Up @@ -80,7 +80,7 @@ protected function parseAccessToken($body)
*/
protected function getUserByToken($token)
{
$endpoint = 'http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=%s&steamids=%s';
$endpoint = 'https://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=%s&steamids=%s';

$response = $this->getHttpClient()->get(
sprintf($endpoint, $this->getConfig('client_secret'), $token)
Expand Down

0 comments on commit c1c49a6

Please sign in to comment.