aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/auth/provider
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/auth/provider')
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/amazon.php10
-rw-r--r--phpBB/phpbb/auth/provider/oauth/service/paypal.php12
2 files changed, 20 insertions, 2 deletions
diff --git a/phpBB/phpbb/auth/provider/oauth/service/amazon.php b/phpBB/phpbb/auth/provider/oauth/service/amazon.php
index 1348bd5ebe..cea4438323 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/amazon.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/amazon.php
@@ -22,5 +22,13 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_auth_provider_oauth_service_amazon extends phpbb_auth_provider_oauth_service_base
{
-
+ /**
+ * {@inheritdoc}
+ */
+ public function get_auth_scope()
+ {
+ return array(
+ 'profile',
+ );
+ }
}
diff --git a/phpBB/phpbb/auth/provider/oauth/service/paypal.php b/phpBB/phpbb/auth/provider/oauth/service/paypal.php
index 983b008dc3..26038d4fcb 100644
--- a/phpBB/phpbb/auth/provider/oauth/service/paypal.php
+++ b/phpBB/phpbb/auth/provider/oauth/service/paypal.php
@@ -22,5 +22,15 @@ if (!defined('IN_PHPBB'))
*/
class phpbb_auth_provider_oauth_service_paypal extends phpbb_auth_provider_oauth_service_base
{
-
+ /**
+ * {@inheritdoc}
+ */
+ public function get_auth_scope()
+ {
+ return array(
+ 'openid',
+ 'profile',
+ 'email',
+ );
+ }
}