From 7878d23018047e900f3027c223305b7c1a5a5c7b Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 14 May 2017 13:10:00 +0200 Subject: [PATCH] teacup should request "create" scope --- controllers/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/auth.php b/controllers/auth.php index 0741d22..b693d59 100644 --- a/controllers/auth.php +++ b/controllers/auth.php @@ -122,7 +122,7 @@ $app->get('/auth/start', function() use($app) { $_SESSION['pebble'] = $pebble; if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) { - $scope = 'post'; + $scope = 'create'; $authorizationURL = IndieAuth\Client::buildAuthorizationURL($authorizationEndpoint, $me, buildRedirectURI(), clientID($pebble), $state, $scope); } else { $authorizationURL = IndieAuth\Client::buildAuthorizationURL('https://indieauth.com/auth', $me, buildRedirectURI(), clientID($pebble), $state);