Kc_idp_hint for SAML Client

Hi there:

Has anyone had success creating a SAML client to leverage kc_idp_hint? There is a description in post below - I could not quite get my head around it.

Yes, we use kc_idp_hint to send the user directly to a particular IdP for authentication. All you need to do is add, for example, “kc_idp_hint=github” as a query string parameter to your SAML request. In our case, we are using OneLogin’s Java SAML library so we simply added the parameter to the parameter map passed in the call to Auth.login().

1 Like