Browse Source

teacup should request "create" scope

pull/10/head
Aaron Parecki 7 years ago
parent
commit
7878d23018
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

@ -122,7 +122,7 @@ $app->get('/auth/start', function() use($app) {
$_SESSION['pebble'] = $pebble;
if($tokenEndpoint && $micropubEndpoint && $authorizationEndpoint) {
$scope = 'post';
$scope = 'create';
$authorizationURL = IndieAuth\Client::buildAuthorizationURL($authorizationEndpoint, $me, buildRedirectURI(), clientID($pebble), $state, $scope);
} else {
$authorizationURL = IndieAuth\Client::buildAuthorizationURL('https://indieauth.com/auth', $me, buildRedirectURI(), clientID($pebble), $state);

Loading…
Cancel
Save