diff --git a/src/Auth/OAuth/Amazon.php b/src/Auth/OAuth/Amazon.php index d249d34214..3e187a5f07 100644 --- a/src/Auth/OAuth/Amazon.php +++ b/src/Auth/OAuth/Amazon.php @@ -18,8 +18,10 @@ class Amazon extends OAuth /** * @var array */ - protected $requiredScope = []; - + protected $requiredScope = [ + "profile" + ]; + /** * @return string */ diff --git a/src/Auth/OAuth/Bitbucket.php b/src/Auth/OAuth/Bitbucket.php index 377d9a5142..4dd1128cac 100644 --- a/src/Auth/OAuth/Bitbucket.php +++ b/src/Auth/OAuth/Bitbucket.php @@ -36,7 +36,7 @@ class Bitbucket extends OAuth $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', 'client_id' => $this->appID, 'scope' => implode(' ', $this->getScopes()),