summaryrefslogtreecommitdiff
path: root/controllers/auth.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2018-07-20 18:02:09 -0500
committerAaron Parecki <aaron@parecki.com>2018-07-20 18:02:09 -0500
commit43c96212ed70327b09fd09db0e2996491442e9b0 (patch)
treef05cff2a40ddd3d487fdf655d0e272fa71176631 /controllers/auth.php
parentb749bc6c124a02a6949dc67ea703d880e1acd2ac (diff)
add media to list of requested scopes
Diffstat (limited to 'controllers/auth.php')
-rw-r--r--controllers/auth.php2
1 files changed, 1 insertions, 1 deletions
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