diff --git a/src/Traits/SteamAuthMethods.php b/src/Traits/SteamAuthMethods.php index ddb7563..2cc8cfa 100644 --- a/src/Traits/SteamAuthMethods.php +++ b/src/Traits/SteamAuthMethods.php @@ -264,6 +264,11 @@ public function finalizeLogin($refreshToken, $sessionId): array $curl->setConnectTimeout(30); $curl->setTimeout(60); + $curl->setHeaders([ + 'Origin' => 'https://steamcommunity.com', + 'Referer' => 'https://steamcommunity.com/' + ]); + if ($this->proxy) { if (array_key_exists('domain_name', $this->proxy)) $curl->setProxy($this->proxy['domain_name']);