title: Keycloak integration to an existing JHipster JWT app while keeping the JWT authentication process
body: <p>I have an existing JHipster application generated with the JWT authentication process. Which means that user accounts are handled by the application itself. And every user have to log in with his username and password directly into the application.</p>
  <p>Now we are developping some microservices and mobile apps that will communicate with the first JHipster app. And for that, we want to use Keycloak to manage the authentication process for the microservices and mobile apps, while keeping the existing JWT authentication process.</p>
  <p>What we want is that: users with username and password will log in directly to the application (they will not be redirected to Keycloak to authenticate), and the microservices and mobile apps will need tokens from Keycloak (by sending the client id and secret to Keycloak) to get access to the JHipster app resources.</p>
  <p>All the tutorials that I saw are about replacing the JWT authentication process by Keycloak.  With this, every user will be redirected to Keycloak, and we don't want that for now (maybe in the future we will upgrade all of that).</p>
  <p>Please if you have any resource that can help me, it will be nice.</p>