# SAML login\_hint for Idp routing not documented

**URL:** <https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942>\
**Category:** SAML\
**Created:** [June 25, 2020, 9:31pm UTC](https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942 "2020-06-25T21:31:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardCollette](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@RichardCollette](https://devforum.okta.com/u/RichardCollette)\
**Post date:** [June 25, 2020, 9:31pm UTC](https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942/1 "2020-06-25T21:31:34Z")

</div>

We have IDP routing configured for use with [login.microsoftonline.com](http://login.microsoftonline.com) We want to sent the login\_hint parameter to Microsoft.

This documentation mentions “loginhint”

> **[Understanding SAML | Okta Developer](https://developer.okta.com/docs/concepts/saml/)**
>
> Secure Authentication Markup Language is a standards-based protocol for exchanging digital authentication signatures. Learn how SAML operates and how to set up SAML applications in Okta.

But then says to refer to the deep link documentation:

> **[Identity Providers | Okta Developer](https://developer.okta.com/docs/reference/api/idps/#redirect-with-saml-deep-links)**
>
> Secure, scalable, and highly available authentication and user management for any app.

But the deep link documentation does not specify how to include the login hint with idp routing.

When using the signon widget with idp discovery, I can see LoginHint passed as a form field in the POST to the Microsoft Idp, but microsoft expects the form field to be login\_hint.

Can someone tell me how we can pass the login\_hint parameter on to Microsoft’s Idp?

---

<div class="post-metadata">

**Author:** ![HannahN](https://avatars.discourse-cdn.com/v4/letter/h/bc8723/32.png) [@HannahN](https://devforum.okta.com/u/HannahN)\
**Post date:** [August 6, 2020, 3:31am UTC](https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942/2 "2020-08-06T03:31:29Z")

</div>

We are looking to do the same thing and I also noticed that there was missing documentation too. We are using the login hint to skip Okta sign in but it’s not populating in our IdP (Ping). In this case the login hint is not being sent to the IdP in the SAML request so it would be great to get some help on the configuration we will need to add for this to be possible.

---

<div class="post-metadata">

**Author:** ![Patrick.Ding](https://avatars.discourse-cdn.com/v4/letter/p/8797f3/32.png) [@Patrick.Ding](https://devforum.okta.com/u/Patrick.Ding)\
**Post date:** [April 3, 2023, 9:50pm UTC](https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942/3 "2023-04-03T21:50:17Z")

</div>

Isn’t it a common scenario? Why Okta doesn’t have a solid answer for this? Its been 2-3 years since this post.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 13, 2024, 12:29am UTC](https://devforum.okta.com/t/saml-login-hint-for-idp-routing-not-documented/9942/4 "2024-02-13T00:29:15Z")

</div>

Closed on February 13, 2024, 12:29am UTC


