Browse Source

add media to list of requested scopes

pull/108/head
Aaron Parecki 3 years ago
parent
commit
43c96212ed
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/auth.php

+ 1
- 1
controllers/auth.php View File

@ -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