You could override KeycloakAuthenticationEntryPoint. commenceLoginRedirect()



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

On May 17, 2016, at 2:18 PM, Frank Herrmann <frank.herrmann@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@modmed.com




[ Modernizing Medicine ]
[ Facebook ][ LinkedIn ][ YouTube ][ Twitter ][ Blog ][ Instagram ]

_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user