chore: sanitisation of BitBucket Adapter
This commit is contained in:
parent
b190bc28d8
commit
907de3e95f
2 changed files with 5 additions and 3 deletions
|
@ -18,8 +18,10 @@ class Amazon extends OAuth
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $requiredScope = [];
|
protected $requiredScope = [
|
||||||
|
"profile"
|
||||||
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -36,7 +36,7 @@ class Bitbucket extends OAuth
|
||||||
$this->addScope($item);
|
$this->addScope($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 'https://bitbucket.org/site/oauth2/authorize?' .http_build_query([
|
return 'https://bitbucket.org/site/oauth2/authorize?'.http_build_query([
|
||||||
'response_type' => 'code',
|
'response_type' => 'code',
|
||||||
'client_id' => $this->appID,
|
'client_id' => $this->appID,
|
||||||
'scope' => implode(' ', $this->getScopes()),
|
'scope' => implode(' ', $this->getScopes()),
|
||||||
|
|
Loading…
Reference in a new issue