Pass login_hint to Auth0 SAML Identity Provider

I read @lihua.zhang 's post on passing login_hint to a SAML IdP Pass login_hint to SAML provider

Question - Is there a way to configure Auth0 SAML Identity Provider to recognize login_hint passed in a SP-initiated flow? Both Okta and AzureAD support this login_hint.

2 Likes

Reviving this old thread, but keen to hear if anyone has managed to get this to work?

From my SAML SP, I can configured a login_hint query parameter to be added to the Auth0 redirect url

https://<tenant>.auth0.com/samlp/<client_id>/?SAMLRequest=<>&login_hint=<username>

but Auth0 does a subsequent redirect to

https://<tenant>.auth0.com/u/login?state=<>

which drops the login_hint query parameter completely.