Browse Source

add media to list of requested scopes

pull/108/head
Aaron Parecki 6 years ago
parent
commit
43c96212ed
No known key found for this signature in database GPG Key ID: 276C2817346D6056
  1. 2
      controllers/auth.php

2
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

Loading…
Cancel
Save