title: How to get Refresh Token of KeyCloak in Spring Boot - Jhipster
body: <p>I have created MicroService(Spring Boot) App with Jhipster(having gateway + microservice + keycloak) , also configured KeyCloak.</p>
  
  <p>everything is working fine , but i have problem in logout application , When i hit logout API from UI it will only logout from gateway (Not Destroying KeyCloak Session)</p>
  
  <p>Note : Server Not saving any cookies on browser except JSESSIONID</p>
  
  <p>I Need to logout user session from keyCloak.for that i go through below links</p>
  
  <p><a href="https://stackoverflow.com/questions/46689034/logout-user-via-keycloak-rest-api-doesnt-work/46769801?noredirect=1#comment95842540_46769801">Logout user via Keycloak REST API doesn&#39;t work</a></p>
  
  <p><a href="https://www.keycloak.org/docs/3.3/securing_apps/topics/oidc/java/logout.html" rel="nofollow noreferrer">https://www.keycloak.org/docs/3.3/securing_apps/topics/oidc/java/logout.html</a></p>
  
  <p>As per above links , I need to make POST request to KeyCloak which destroy user active Sessions.for that i call following API</p>
  
  <pre><code>POST http://localhost:8080/auth/realms/&lt;my_realm&gt;/protocol/openid-connect/logout
  </code></pre>
  
  <p>refer link (<a href="https://stackoverflow.com/questions/46689034/logout-user-via-keycloak-rest-api-doesnt-work/46769801?noredirect=1#comment95842540_46769801">LINK</a> answer of @Manh Ha)</p>
  
  <p>I need to add Access Token and Refresh Token in request body , I found Access token from Principal object , But I am struggling to found Refresh Token </p>
  
  <p>Questions :</p>
  
  <p>1) Where i found Refresh token (in spring Boot) ?</p>