From 61552f92fcf8a33e9796c7ff93d1872ee68d9a2e Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 13 Feb 2022 15:56:43 +0000 Subject: [PATCH] request profile scope --- controllers/auth.php | 2 +- views/auth_start.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/controllers/auth.php b/controllers/auth.php index 0e671b6..50fd15b 100644 --- a/controllers/auth.php +++ b/controllers/auth.php @@ -9,7 +9,7 @@ $app->get('/auth/start', function() use($app) { $params = $req->params(); - $defaultScope = 'create update media'; + $defaultScope = 'create update media profile'; list($authorizationURL, $error) = IndieAuth\Client::begin($params['me'], $defaultScope); diff --git a/views/auth_start.php b/views/auth_start.php index a6df0da..856caec 100644 --- a/views/auth_start.php +++ b/views/auth_start.php @@ -48,8 +48,8 @@

Choose the scope to request: