# Unable to get successful login after creating Enterprise OIDC connection

**URL:** <https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512>\
**Category:** Get Help\
**Tags:** oidc-enterprise-connection, connections\
**Created:** [October 22, 2025, 9:12pm UTC](https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512 "2025-10-22T21:12:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![megha.shinde](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/megha.shinde/32/71440_2.png) [@megha.shinde](https://community.auth0.com/u/megha.shinde)\
**Post date:** [October 22, 2025, 9:12pm UTC](https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512/1 "2025-10-22T21:12:27Z")

</div>

R{  
“error”: “invalid\_request”,  
“error\_description”: “server responded with an error in the response body”  
}eady to post? 🔎 First try searching for your answer.

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 23, 2025, 5:27pm UTC](https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512/3 "2025-10-23T17:27:56Z")

</div>

Hi @megha.shinde

Welcome to the Auth0 Community!

I understand that you have setup an Enterprise OIDC Connection, but you are getting the mentioned error message. This seems a very generic one, so a couple of steps that I suggest taking would be:

- check the logs on the IdP side, if you have access to them. These would be very helpful in figuring out the issue;
- confirm that the Client ID is set correctly;
- generate a new Client Secret and set it one more time;
- make sure the Callback URL/Redirect URI are exact matches, so they successfully point to the correct path;
- do the same with the Discovery URL, make sure it’s correctly set;
- verify that the scopes you are requesting exactly match the ones that the IdP’s client application is set to allow.

I’m also adding some useful documentations that I recommend reading through:

- [Connect to OpenID Connect Identity Provider](https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/oidc)
- [Enterprise Connections](https://auth0.com/docs/authenticate/enterprise-connections)
- [How to Enable the OIDC Logout URL in the Discovery URL](https://support.auth0.com/center/s/article/how-to-enable-the-oidc-logout-url-in-discovery-endpoint)

Hope this helped!  
Gerald

---

<div class="post-metadata">

**Author:** ![Timperall](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/timperall/32/77275_2.png) [@Timperall](https://community.auth0.com/u/Timperall)\
**Post date:** [October 30, 2025, 10:43am UTC](https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512/4 "2025-10-30T10:43:11Z")

</div>

If you can’t log in after creating an Enterprise OIDC connection, first check that the Redirect URI/Callback URL and Discovery URL are identical in both your application and your Identity Provider (IdP) settings. If they match, verify that the Client ID and Client Secret are correct and that the requested scopes are valid. If the issue continues, check the logs on both your application and the IdP for specific error messages to identify mismatches, such as client authentication methods or missing user claims.

---

<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:** [November 13, 2025, 10:43am UTC](https://community.auth0.com/t/unable-to-get-successful-login-after-creating-enterprise-oidc-connection/193512/5 "2025-11-13T10:43:20Z")

</div>

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