# Custom Social Connection not working

**URL:** <https://community.auth0.com/t/custom-social-connection-not-working/11133>\
**Category:** Get Help\
**Tags:** custom-social-connec\
**Created:** [April 25, 2018, 5:41am UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133 "2018-04-25T05:41:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![geminiyellow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geminiyellow/32/4767_2.png) [@geminiyellow](https://community.auth0.com/u/geminiyellow)\
**Post date:** [April 25, 2018, 5:41am UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/1 "2018-04-25T05:41:29Z")

</div>

hi all, i try to use the Custom Social Connection extension.  
and I add a new Custom Social Connection, after click Save button,  
and then i click the Try button.  
it success show me the auth dialog sometime, but now, it show

**TRACKING ID: 1d0e10fc9b5221a58059**

```auto
You may have pressed the back button, refreshed during login, opened too many login dialogs, or there is some issue with cookies, since we couldn't find your session. Try logging in again from the application and if the problem persists please contact the administrator.

```

how to fix it?

and, my server cannot read the client id and secret from request body, how to config it as a query string?

Thanks.

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 25, 2018, 12:12pm UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/2 "2018-04-25T12:12:27Z")

</div>

👋 @geminiyellow what custom social connection are you adding? For the client ID and secret, depending on the connection you can send custom header as described here [https://auth0.com/docs/extensions/custom-social-extensions#optional-set-up-basic-authentication](https://auth0.com/docs/extensions/custom-social-extensions#optional-set-up-basic-authentication)

Were you able to review these resources  
[https://auth0.com/docs/connections/social/oauth2](https://auth0.com/docs/connections/social/oauth2)  
[https://auth0.com/docs/extensions/custom-social-extensions](https://auth0.com/docs/extensions/custom-social-extensions)

---

<div class="post-metadata">

**Author:** ![geminiyellow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geminiyellow/32/4767_2.png) [@geminiyellow](https://community.auth0.com/u/geminiyellow)\
**Post date:** [April 26, 2018, 3:24am UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/3 "2018-04-26T03:24:24Z")

</div>

hi @kimcodes Thanks for your reply.  
i add a connection for our company’s oauth2 service.  
the Client ID and Secret is right, and i custom the header.  
and the login dialog is opened for many time.  
but i got that error at last.

and our company’s oauth2 service cannot read the Client ID/Secret from the request-body, how to set it to query string?

---

<div class="post-metadata">

**Author:** ![geminiyellow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/geminiyellow/32/4767_2.png) [@geminiyellow](https://community.auth0.com/u/geminiyellow)\
**Post date:** [April 26, 2018, 3:55am UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/4 "2018-04-26T03:55:15Z")

</div>

and i use postman to check if the auth service is working, it looks right.

here is my setting

- TokenName: access\_token
- Scope: empty
- Grant Type: Authorization Code
- Header: not thing

So, i dont know where is the problem, the Custom Social not return error trace, i cannot debug it.

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 27, 2018, 2:49pm UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/5 "2018-04-27T14:49:20Z")

</div>

@geminiyellow thank you for getting back to me. The error you received `You may have pressed the back button` can be a bit tricky. Let’s see what we can do! What is the name of the social connection you are configuring? I can take a look and try it out myself.

Were you able to setup the [Fetch User Profile Script](https://auth0.com/docs/connections/social/oauth2#the-fetchuserprofile-script) and set the [Callback URL](https://auth0.com/docs/extensions/custom-social-extensions#provide-your-callback-url-to-the-identity-provider)?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [July 25, 2019, 12:53pm UTC](https://community.auth0.com/t/custom-social-connection-not-working/11133/6 "2019-07-25T12:53:25Z")

</div>


