[keycloak-user] Spring Security Adapter - Custom Parameter to KeyCloak

Scott Rossillo srossillo at smartling.com
Thu May 19 11:07:04 EDT 2016


You could override KeycloakAuthenticationEntryPoint. commenceLoginRedirect()



Scott Rossillo
Smartling | Senior Software Engineer
srossillo at smartling.com

> On May 17, 2016, at 2:18 PM, Frank Herrmann <frank.herrmann at 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 at modmed.com <mailto:frank.herrmann at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160519/f86d84b2/attachment.html 


More information about the keycloak-user mailing list