Auth0 Home Blog Docs

Custom Social Connection not working

custom-social-connec

#1

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

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.


#2

:wave: @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

Were you able to review these resources



#3

hi @kim.noel 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?


#4

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.


#5

@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 and set the Callback URL?