[keycloak-user] Access Query Parameter in FreeMarker Template - Keycloak 2.1.0
Bernhard Steindl
steindl.bernhard94 at gmail.com
Fri Jul 7 06:16:31 EDT 2017
Hello,
I must access Query Parameters passed to my keycloak login theme.
Neither was I able to obtain them using
RequestParameters.paramName nor
request.getParameter(paramName)
in the login FreeMarker template.
Everytime I access a query parameter using these methods I get an FreeMarker error
2017-07-06 13:32:07,917 ERROR [freemarker.runtime] (default task-12) Error executing FreeMarker template:
freemarker.core.InvalidReferenceException: The following has evaluated to null or missing
I also found that there is an url object visible which provides a few keys to access.
I am using Keycloak 2.1.0 which includes a FreeMarker jar version 2.3.20.
Can anybody support me in this issue?
I need to use query params to dynamically display information on the login theme.
Kind Regards,
Bernhard
More information about the keycloak-user
mailing list