title: Simplest way to get current user logged in Keycloak
body: <p>I have implemented a really simple keycloak integration on my maven java web app.
  Assuming I am calling a url directly for the keycloak log in page .</p>
  <pre><code>http://localhost:8180/auth/realms/myrealm/protocol/openid-connect/auth?client_id=myclientid&amp;response_type=code&amp;scope=openid&amp;redirect_uri=http//localhost:8080/mypage.html
  </code></pre>
  <p>After entering my username &amp; password on success i am being redirected on mypage.html , the url is like this</p>
  <pre><code>http://localhost:8080/mypage.html?session_state=c9482da3-50ff-4176-bf3c-54227271c661&amp;code=5d4aebda-54d8-41ad-8205-c4d7e021770f.c9482da3-50ff-4176-bf3c-54227271c661.d5c1b6ac-c427-46da-8509-f2689849103b
  </code></pre>
  <p>If I break this down its</p>
  <pre><code>http://localhost:8080/mypage.html?
  session_state=c9482da3-50ff-4176-bf3c-54227271c661&amp;
  code=5d4aebda-54d8-41ad-8205-c4d7e021770f.c9482da3-50ff-4176-bf3c-54227271c661.d5c1b6ac-c427-46da-8509-f2689849103b
  </code></pre>
  <p>What would be the simplest - easiest way to get the user currently logged so i can display it's name ?</p>