title: Authenticate jwt token and proxy to another server using Node JS
body: <p>Want to use NodeJS as reverse proxy to another server. </p>
  
  <p>My Scenario is to authenticate all requests (each request will have jwt token), authentication using jwt in nodejs is fine.</p>
  
  <p>Same request should be sent to another server after successful authentication and the response should be sent back to client.</p>
  
  <p>Looked into redbird, node-http-proxy and other readily available nodejs proxy modules. Nothing have a concrete way of authenticating the jwt and redirecting to  target.</p>
  
  <p>Is there a module which can be used? If not any idea/what steps I can follow to achieve this? Also I will be adding tls termination.</p>