chore: modified amazon adapter
This commit is contained in:
parent
2c937f8221
commit
a7f0d16596
2 changed files with 2 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -17,7 +17,7 @@ class Bitbucket extends OAuth
|
|||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $scope = [];
|
||||
protected $scopes = [];
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
|
Loading…
Reference in a new issue