Social Connection: Log in with DeviantART

I am trying to create a DeviantART social connection, I input the correct authorization and token URL, client ID and secret. When I tried to test it out, it said in a error as

{
  "error": "invalid_request",
  "error_description": "Invalid user id."
}

There was just nothing much in the “Fetch User Profile script” as it was generated

function(accessToken, ctx, cb) {
    const profile = {};
    // Call OAuth2 API with the accessToken and create the profile
    cb(null, profile);
  }

with nothing in Custom Headers, although there would have to be something that I don’t think any Social Media connection would be just as a ‘simple’ connection just by inputting the connection fields.

here’s the devloper API Authentication | Developers | DeviantArt

1 Like

It looks like you are missing the user id, as the error states.

Did you look at this doc about setting up a custom social connection?

https://auth0.com/docs/connections/social/oauth2#fetch-user-profile-script

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