Skip to content

Commit 6bb1ec8

Browse files
committed
Adding middleware registration
1 parent c87debd commit 6bb1ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/OAuth2ServerServiceProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,6 @@ private function bootFilters()
166166
$this->app['router']->filter('check-authorization-params', 'LucaDegasperi\OAuth2Server\Filters\CheckAuthCodeRequestFilter');
167167
$this->app['router']->filter('oauth', 'LucaDegasperi\OAuth2Server\Filters\OAuthFilter');
168168
$this->app['router']->filter('oauth-owner', 'LucaDegasperi\OAuth2Server\Filters\OAuthOwnerFilter');
169+
$this->app['router']->middleware('LucaDegasperi\OAuth2Server\Middleware\OAuthExceptionHandlerMiddleware');
169170
}
170171
}

0 commit comments

Comments
 (0)