# My custom social login keeps getting "the connection is not enabled" error

**URL:** <https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810>\
**Category:** Get Help\
**Tags:** custom-social-connections-branding, connections\
**Created:** [October 18, 2023, 12:40pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810 "2023-10-18T12:40:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![frank.wisniewski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frank.wisniewski/32/51747_2.png) [@frank.wisniewski](https://community.auth0.com/u/frank.wisniewski)\
**Post date:** [October 18, 2023, 12:40pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810/1 "2023-10-18T12:40:10Z")

</div>

Hello,

I created a custom social login that points to my own server code. Everything was working fine on my local dev env. I tried pushing to our cloud dev env and it no longer works.

In order to test and debug the code locally I used ngrok and configure the custom social connection endpoints with my ngrok url (ngrok is a service that lets you have a valid internet url hit your local running ports). This all worked until I pushed to our cloud dev env and had to update the social connection endpoint urls. As far as I can tell, any time I try to using my custom social connection it stops at auth0 with the error “the connection is not enabled”. I have search and can not find any details about what this error means. Any help with this error would be greatly appericated.

Thanks,

Frank

---

<div class="post-metadata">

**Author:** ![marcelina.barycka](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcelina.barycka/32/56162_2.png) [@marcelina.barycka](https://community.auth0.com/u/marcelina.barycka)\
**Post date:** [October 18, 2023, 1:26pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810/2 "2023-10-18T13:26:33Z")

</div>

Hey there @frank.wisniewski !

Quick question - for production, do you use the same auth0 tenant as for dev (where everything works fine)? You have a few tenants and the one for production do not have the custom connection you’ve mentioned and so it’s not enabled for the app in question.

---

<div class="post-metadata">

**Author:** ![frank.wisniewski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frank.wisniewski/32/51747_2.png) [@frank.wisniewski](https://community.auth0.com/u/frank.wisniewski)\
**Post date:** [October 18, 2023, 2:20pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810/3 "2023-10-18T14:20:12Z")

</div>

Yes, we have multiple tenants, I was only trying to push to our dev tenant right now so our production will not have the custom socials yet. And yes, for my testing I use the dev tenant for my local code as well as our cloud dev instance of our code. I stated with just one custom social then when configuring it for our cloud dev instance I updated it with new urls and created a second one attempting to use the dev tenant for both local and cloud dev instance code. If that makes sense 😄

---

<div class="post-metadata">

**Author:** ![frank.wisniewski](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frank.wisniewski/32/51747_2.png) [@frank.wisniewski](https://community.auth0.com/u/frank.wisniewski)\
**Post date:** [October 18, 2023, 9:56pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810/4 "2023-10-18T21:56:17Z")

</div>

So I figured it out, when I am calling the auth0 authorization endpoint and passing the connection parameter I did not get the case correct! I was passing all lower case but the custom social connection name I created was mixed case.

Lesson learned: custom social connection names are case sensitive! The error message was a little confusing because it should have told me the connection did not exist instead of not being enabled.

---

<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 1, 2023, 9:57pm UTC](https://community.auth0.com/t/my-custom-social-login-keeps-getting-the-connection-is-not-enabled-error/118810/5 "2023-11-01T21:57:00Z")

</div>

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