<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D51Y00007tDVfbSAGOkta Classic EngineSingle Sign-OnAnswered2024-04-15T12:26:29.000Z2020-02-25T18:22:53.000Z2020-02-26T02:20:47.000Z

j7b3a (j7b3a) asked a question.

Adding email address to the SAML url

Hi,

 

We are using SAML to integrate with a customer. We'd like to prefill the email address by passing in a query parameter to the url, but don't know how to configure Okta to do this.

 

Any ideas? The parameter we want to prefill is Login_Hint.

 

thanks

Amish


  • GabrielL.85945 (Customer)

    The SAML assertion itself will be contained within a query parameter in the URL.

    There is nothing inherent in SAML for passing other query parameters.

    Within the SAML assertion, you can add additional SAML attributes, like an email address, and this is supported with Okta.

    When performing an IdP-initiated login, Okta does not have functionality built in for adding additional query parameters like in the scenario you outlined.

     

    I suspect you could add a static query parameter to the end of the SSO URL, but that wouldn't be a unique email address for every user.

    If you're performing SP-initiated logins, I believe you can specify an index of SSO URL's and have the SAML response go to the typical SSO URL but with a different query parameter. This would only work for SP-initiated logins, would only work if the SP supported it, you'd still have to somehow have the SP specify the SSO URL in the index that has the corresponding email address, and the functionality was not built for this use case, so it would likely not scale and be difficult to manage.

    You can also build a custom solution.

     

    Maybe a feature request is in order.

    Expand Post
This question is closed.
Loading
Adding email address to the SAML url