You could override KeycloakAuthenticationEntryPoint. commenceLoginRedirect()
Scott Rossillo
Smartling | Senior Software Engineer
srossillo(a)smartling.com
On May 17, 2016, at 2:18 PM, Frank Herrmann
<frank.herrmann(a)modernizingmedicine.com> wrote:
Hello,
Our app is using openid-conntect and the Spring Security Adapter to authenticate to a
KeyCloak IDP. The KeyCloak server has custom AuthenticatorFactory and
UserFederationProviderFactory. We have also customized some of the KeyCloak/Spring code on
the app.
At this point, I need a custom query parameter included with the redirect call to
KeyCloak. I cannot find in the KeyCloak/Spring Security Adapter code any way to set an
additional query parameter.
Is there a way to set an additional parameter, or another way to pass a custom map of
information to KeyCloak as part of the redirect? For now I am using the
"login_hint" parameter to pass additional information. I was just wondering if
there is a better way.
Thanks,
-Frank
--
FRANK HERRMANN
SOFTWARE ENGINEER
T: 561-880-2998 x1563
E: frank.herrmann(a)modmed.com <mailto:frank.herrmann@modmed.com>
<
http://www.modmed.com/>
<
http://www.facebook.com/modernizingmedicine>
<
http://www.linkedin.com/company/modernizing-medicine/>
<
http://www.youtube.com/user/modernizingmedicine>
<
https://twitter.com/modmed_EMA> <
http://www.modmed.com/BlogBeyondEMR>
<
http://instagram.com/modernizing_medicine>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user