Added restify-oauth2 middlewares in plugin