Access Query Parameter in FreeMarker Login Template - Keycloak 2.1.0
by Bernhard Steindl
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 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
7 years, 5 months
keycloak.js and iframe caching issues
by Stian Thorgersen
When keycloak.js and the session iframe are updated that can cause issues
as they are currently cached by the browser. This is now changed and unless
keycloak.js is loaded with ?version=<KC VERSION> they will no longer be
cached. If you load keycloak.js with ?version<KC VERSION> it will
automatically load the iframe with the same query param which makes that
cached as well.
7 years, 5 months
GroupMembershipMapper with ID
by Rafael Kapp
Hello Keycloak Devs,
We need a mapper for oidc which maps the ID of a group. We are wondering if
the GroupMembershipMapper, which maps the name of a group, could be made
configurable to map one of Name, Full Path, or ID.
Or would it be better to create a new mapper type? The difference between
these mappers would be minimal.
Best regards,
Rafael
7 years, 5 months
GroupMembershipMapper with ID
by Rafael Kapp
Hello Keycloak Devs,
We need a mapper for oidc which maps the ID of a group. We are wondering if the GroupMembershipMapper, which maps the name of a group, could be made configurable to map one of Name, Full Path, or ID.
Or would it be better to create a new mapper type? The difference between these mappers would be minimal.
Best regards,
Rafael
7 years, 5 months