Skip to content

Commit

Permalink
Update 'any scopes' documentation
Browse files Browse the repository at this point in the history
Changed the wording to reflect the intended behaviour of granting permission to access a route.
  • Loading branch information
adrianroworth committed Jul 4, 2019
1 parent 652c772 commit 39d1c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ app.post('/users',
jwtAuthz([ 'read:users', 'write:users' ], {}),
function(req, res) { ... });

// This user will be denied access
// This user will be granted access
var authorizedUser = {
scope: 'read:users'
};
Expand Down

0 comments on commit 39d1c1e

Please sign in to comment.