From 43c96212ed70327b09fd09db0e2996491442e9b0 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Fri, 20 Jul 2018 18:02:09 -0500 Subject: add media to list of requested scopes --- controllers/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers') 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 -- cgit v1.2.3