title: JHipster - How the gateway authenticate within the microservices?
body: <p>I'm doing a microservice project usign JHipster, i'm using Consul for Service Discovery and JWT for authentication, but here's my question:</p>
  
  <p>For other clients to access my microservices, they need to authenticate by passing a JSON with the credentials via POST to the gateway and finally get de id_token. But how the gateway authenticate within the services? The gateway do something similar to what we did when there's external client? Or there's something to do with de Service Discovery?</p>
  
  <p>I found this in the application-dev.yml:</p>
  
  <pre><code>security:
      authentication:
          jwt:
              secret: my-secret-token-to-change-in-production
  </code></pre>
  
  <p>My guess is that the both microservice and the gateway share a common secret key, but i didn't found this key, only this section on the yml.</p>