# Social Connection: Log in with DeviantART

**URL:** <https://community.auth0.com/t/social-connection-log-in-with-deviantart/52563>\
**Category:** Get Help\
**Tags:** api, login\
**Created:** [November 2, 2020, 6:08am UTC](https://community.auth0.com/t/social-connection-log-in-with-deviantart/52563 "2020-11-02T06:08:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikey186](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mikey186/32/25358_2.png) [@mikey186](https://community.auth0.com/u/mikey186)\
**Post date:** [November 2, 2020, 6:08am UTC](https://community.auth0.com/t/social-connection-log-in-with-deviantart/52563/1 "2020-11-02T06:08:13Z")

</div>

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

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

```

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

```auto
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](https://www.deviantart.com/developers/authentication)

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 17, 2020, 9:05pm UTC](https://community.auth0.com/t/social-connection-log-in-with-deviantart/52563/3 "2020-11-17T21:05:49Z")

</div>

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](https://auth0.com/docs/connections/social/oauth2#fetch-user-profile-script)

---

<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:** [January 8, 2021, 8:18pm UTC](https://community.auth0.com/t/social-connection-log-in-with-deviantart/52563/4 "2021-01-08T20:18:55Z")

</div>

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