title: Keycloak access cookie and/or url query params inside freemarker template
body: <p>I want to access to some info's inside keycloak freemarker template. There are two approaches I am thinking about. To set url parameters and read them inside freemarker template or to set this info to a cookie and access them inside the template. </p>
  
  <p>I tried already to access url parameters as described <a href="http://marcsquire.com/check-for-a-url-parameter-with-freemarker/" rel="noreferrer">here</a> or <a href="https://stackoverflow.com/questions/14372165/get-querystring-of-a-url-on-freemarker">here</a>. But both are not working. 
  Keycloak data model doesn't provide any getters for current Url.  </p>
  
  <p>Is one of those approaches possible? How can I achieve my goal</p>