diff --git a/src/Auth/OAuth/Amazon.php b/src/Auth/OAuth/Amazon.php index 2694e21fe8..fd7de98360 100644 --- a/src/Auth/OAuth/Amazon.php +++ b/src/Auth/OAuth/Amazon.php @@ -18,7 +18,7 @@ class Amazon extends OAuth /** * @var array */ - protected $requiredScope = [ + protected $scopes = [ "profile" ]; @@ -46,10 +46,6 @@ class Amazon extends OAuth */ public function getLoginURL(): string { - foreach ($this->requiredScope as $item) { - $this->addScope($item); - } - return 'https://www.amazon.com/ap/oa?'.http_build_query([ 'response_type' => 'code', 'client_id' => $this->appID, diff --git a/src/Auth/OAuth/Bitbucket.php b/src/Auth/OAuth/Bitbucket.php index 1b597263be..c0abb6c5d9 100644 --- a/src/Auth/OAuth/Bitbucket.php +++ b/src/Auth/OAuth/Bitbucket.php @@ -17,7 +17,7 @@ class Bitbucket extends OAuth /** * @var array */ - protected $scope = []; + protected $scopes = []; /** * @return string