# Invalid\_request: IdP-Initiated login is not enabled for connection "Username-Password-Authentication"

**URL:** <https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622>\
**Category:** Get Help\
**Tags:** connections, saml-enterprise-connection\
**Created:** [February 16, 2023, 4:07am UTC](https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622 "2023-02-16T04:07:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ninjoe](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ninjoe/32/44685_2.png) [@ninjoe](https://community.auth0.com/u/ninjoe)\
**Post date:** [February 16, 2023, 4:07am UTC](https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622/1 "2023-02-16T04:07:22Z")

</div>

Hi,  
I was trying to implement SSO for my applications.  
Tried to setup SAML SSO with Auth0 by following this document. [Test SAML SSO with Auth0 as Service Provider and Identity Provider](https://auth0.com/docs/authenticate/protocols/saml/saml-configuration/configure-auth0-as-service-and-identity-provider)

Followed the exact same process in setting up, and tried many rounds.  
But it just doesn’t work.

When I click on try in SAML, I just get this

 ![image](https://global.discourse-cdn.com/auth0/original/3X/0/1/0162ec766b3eaaf1420810e1ecbee1d5f8e2dfb0.png)

I set up two applications in SP tenant to connect to the SAML.  
Both applications can login, but it is login to the local database, instead of the IdP tenant database.  
So I guess the SSO is not setup.

Can please guide me to solve the issue.  
Tried googling for solution, but don’t find any.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [December 13, 2024, 6:48am UTC](https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622/2 "2024-12-13T06:48:00Z")

</div>

Our team is answering some of our frequently asked questions.

The solution may vary depending on the application and IdP configuration. We recommend reviewing the documentation linked below, as it may assist you in troubleshooting the issue:  
[https://community.auth0.com/t/saml-connection-login-error-idp-initiated-login-is-not-enabled-for-connection-connection-name/121428](https://community.auth0.com/t/saml-connection-login-error-idp-initiated-login-is-not-enabled-for-connection-connection-name/121428)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 27, 2024, 6:48am UTC](https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622/3 "2024-12-27T06:48:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![Tiffani](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tiffani/32/75235_2.png) [@Tiffani](https://community.auth0.com/u/Tiffani)\
**Post date:** [July 29, 2026, 4:50pm UTC](https://community.auth0.com/t/invalid-request-idp-initiated-login-is-not-enabled-for-connection-username-password-authentication/100622/4 "2026-07-29T16:50:52Z")

</div>


