From 43c96212ed70327b09fd09db0e2996491442e9b0 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Fri, 20 Jul 2018 18:02:09 -0500 Subject: [PATCH] add media to list of requested scopes --- controllers/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/auth.php b/controllers/auth.php index f6d357e..e6a2d24 100644 --- a/controllers/auth.php +++ b/controllers/auth.php @@ -35,7 +35,7 @@ $app->get('/auth/start', function() use($app) { $tokenEndpoint = IndieAuth\Client::discoverTokenEndpoint($me); $micropubEndpoint = IndieAuth\Client::discoverMicropubEndpoint($me); - $defaultScope = 'create update'; + $defaultScope = 'create update media'; if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) { // Generate a "state" parameter for the request