# Social Connections, Custom Header is not showing up

**URL:** <https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [June 13, 2021, 3:43am UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407 "2021-06-13T03:43:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![omonkulov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/omonkulov/32/29991_2.png) [@omonkulov](https://community.auth0.com/u/omonkulov)\
**Post date:** [June 13, 2021, 3:43am UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407/1 "2021-06-13T03:43:57Z")

</div>

Trying to use auth0’s social connections for reddith auth. But I am having trouble with custome headers.  
Everything works but reddit is limiting the duration for only an hour. In order to make it permanent, reddit github secified that I have “duration” variable in the url query string. Such as

> `https://www.reddit.com/api/v1/authorize?client_id=CLIENT_ID&duration=DURATION`

To solve this I put duration in customer headers in Soclal Connection like so:

```auto
{
   "duration": "permanent"
}

```

But it did not show up when I try to test the connection. Am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![omonkulov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/omonkulov/32/29991_2.png) [@omonkulov](https://community.auth0.com/u/omonkulov)\
**Post date:** [June 13, 2021, 4:58pm UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407/2 "2021-06-13T16:58:06Z")

</div>

I am still having trouble with this.

---

<div class="post-metadata">

**Author:** ![omonkulov](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/omonkulov/32/29991_2.png) [@omonkulov](https://community.auth0.com/u/omonkulov)\
**Post date:** [June 14, 2021, 7:14pm UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407/3 "2021-06-14T19:14:04Z")

</div>

Firgured it out  
For custom social connection, instead of giving this auth url

```auto
https://www.reddit.com/api/v1/authorize?

```

Just give this url:

```auto
https://www.reddit.com/api/v1/authorize?duration=permanent

```

---

<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:** [June 15, 2021, 8:01am UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407/4 "2021-06-15T08:01:02Z")

</div>

Perfect! Glad that you sorted it out and thanks for sharing with the rest of community!

---

<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:** [June 25, 2021, 11:23am UTC](https://community.auth0.com/t/social-connections-custom-header-is-not-showing-up/64407/5 "2021-06-25T11:23:05Z")

</div>


