Relay state is stored in the ClientSessionModel:
I don't think ClientSessionModel is visible from login.ftl. You'll have
to modify your Authenticator to store a form attribute.
On 11/16/2015 9:10 AM, Jeff Macomber wrote:
Is it possible to access the Saml RelayState information in the
login.ftl? I would like to pass forward information to allow
pre-filling fields in login.ftl (I have customized the login to add more
than just user/pass). Since SAML is redirect based query parameters
will not work and it seems RelayState might be the correct approach here
but i cant figure out how i would get at it in the login.ftl. IF
RelayState is not the correct mechanism is there another approach for
passing info from the client to the login form?
keycloak-user mailing list
JBoss, a division of Red Hat