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.
I tried already to access url parameters as described here or here. But both are not working. Keycloak data model doesn't provide any getters for current Url.
Is one of those approaches possible? How can I achieve my goal