oauth-plugin
oauth-plugin copied to clipboard
Allow users to only apply the middleware to specific paths
I have added an optional param to the middleware definition. The user can specify a regex to restrict the paths that the OAuthFilter will act upon. If no param is supplied, the OAuthFilter will operate on all URLs (the current functionality is the default).