Skip to content

Commit

Permalink
Remove Incorrect Opening Brace (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrandl authored Apr 13, 2023
1 parent e299f3e commit ae4b1f7
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 @@ -219,7 +219,7 @@ Route::get('/api/private', function () {
'authorized' => Auth::check(),
'user' => Auth::check() ? json_decode(json_encode((array) Auth::user(), JSON_THROW_ON_ERROR), true) : null,
], 200, [], JSON_PRETTY_PRINT);
})->middleware(['auth0.authorize');
})->middleware('auth0.authorize');
```

**`auth0.authorize` can further require access tokens to have a specific scope.** If the scope is not present for the token, it will return a `403 Forbidden` response.
Expand Down

0 comments on commit ae4b1f7

Please sign in to comment.