Browse Source
add media to list of requested scopes
pull/108/head
Aaron Parecki
6 years ago
No known key found for this signature in database
GPG Key ID: 276C2817346D6056
1 changed files with
1 additions and
1 deletions
-
controllers/auth.php
|
@ -35,7 +35,7 @@ $app->get('/auth/start', function() use($app) { |
|
|
$tokenEndpoint = IndieAuth\Client::discoverTokenEndpoint($me); |
|
|
$tokenEndpoint = IndieAuth\Client::discoverTokenEndpoint($me); |
|
|
$micropubEndpoint = IndieAuth\Client::discoverMicropubEndpoint($me); |
|
|
$micropubEndpoint = IndieAuth\Client::discoverMicropubEndpoint($me); |
|
|
|
|
|
|
|
|
$defaultScope = 'create update'; |
|
|
|
|
|
|
|
|
$defaultScope = 'create update media'; |
|
|
|
|
|
|
|
|
if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) { |
|
|
if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) { |
|
|
// Generate a "state" parameter for the request
|
|
|
// Generate a "state" parameter for the request
|
|
|