File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Add this line to the `aliases` array:
21
21
22
22
Add the following line to your ` app/Http/Kernel.php ` file in the ` $middleware ` array
23
23
``` php
24
- \LucaDegasperi\OAuth2Server\Middleware\OAuthExceptionHandlerMiddleware::class
24
+ \LucaDegasperi\OAuth2Server\Middleware\OAuthExceptionHandlerMiddleware::class,
25
25
```
26
26
This will catch any OAuth error and respond appropriately.
27
27
@@ -30,7 +30,7 @@ Then add
30
30
'oauth' => \LucaDegasperi\OAuth2Server\Middleware\OAuthMiddleware::class,
31
31
'oauth-user' => \LucaDegasperi\OAuth2Server\Middleware\OAuthUserOwnerMiddleware::class,
32
32
'oauth-client' => \LucaDegasperi\OAuth2Server\Middleware\OAuthClientOwnerMiddleware::class,
33
- 'check-authorization-params' => \LucaDegasperi\OAuth2Server\Middleware\CheckAuthCodeRequestMiddleware::class
33
+ 'check-authorization-params' => \LucaDegasperi\OAuth2Server\Middleware\CheckAuthCodeRequestMiddleware::class,
34
34
```
35
35
to the ` $routeMiddleware ` array.
36
36
You can’t perform that action at this time.
0 commit comments