diff --git a/lib/indieauth/check-scope.js b/lib/indieauth/check-scope.js index 45e7b728c..0b6eda152 100644 --- a/lib/indieauth/check-scope.js +++ b/lib/indieauth/check-scope.js @@ -25,7 +25,7 @@ module.exports = (requiredScope, tokenScope) => { if (!tokenScope) { throw new IndieKitError({ status: 401, - error: 'Unauthorized', + error: 'Insufficient scope', error_description: 'Access token does not provide any scope(s)' }); }