# TikTok Custom Social Connection

**URL:** <https://community.auth0.com/t/tiktok-custom-social-connection/85137>\
**Category:** Get Help\
**Tags:** custom-social-connec, custom-login\
**Created:** [June 15, 2022, 4:38am UTC](https://community.auth0.com/t/tiktok-custom-social-connection/85137 "2022-06-15T04:38:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![musictest](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/musictest/32/35380_2.png) [@musictest](https://community.auth0.com/u/musictest)\
**Post date:** [June 15, 2022, 4:38am UTC](https://community.auth0.com/t/tiktok-custom-social-connection/85137/1 "2022-06-15T04:38:58Z")

</div>

Hello all,

I’m relatively new to Auth0, and I’ve been trying to create a custom social connection for TikTok login for a SPA. The query parameters that Auth0 automatically appends to my Authorization URL are causing problems. Is there a way to customize how the Authorization URL is generated?

Examples:

Authorization URL generated by Auth0 → https ://www.tiktok.com/auth/authorize?client\_key=my key&scope=user.info.basic,video.upload&response\_type=code&redirect\_uri=[https://example.us.auth0.com/login/callback?state=1KwcwWWoLKU4z9FEknrvUC5c1Z0Kayha&login\_hint=&prompt=login&state=1KwcwWWoLKU4z9FEknrvUC5c1Z0Kayha&client\_id=my](https://example.us.auth0.com/login/callback?state=1KwcwWWoLKU4z9FEknrvUC5c1Z0Kayha&login_hint=&prompt=login&state=1KwcwWWoLKU4z9FEknrvUC5c1Z0Kayha&client_id=my) id

TikTok will throw ‘param error’ and not redirect to the uri provided by the redirect\_uri query param above. Below is an Authorization URL that TikTok accepts.

Auth URL that TikTok accepts → [Log in | TikTok](https://www.tiktok.com/auth/authorize/?client_key=mykey&scope=user.info.basic,video.upload&response_type=code&redirect_uri=https://example.us.auth0.com/login/callback&state=some) state

The main difference between these two URLs is the redirect\_uri param. Auth0 is appending query params to this uri from within the Authorization URL, which TikTok doesn’t seem to like.

Any help/suggestion is appreciated!

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [February 1, 2023, 11:02pm UTC](https://community.auth0.com/t/tiktok-custom-social-connection/85137/2 "2023-02-01T23:02:33Z")

</div>

Hi there @musictest!

My apologies for the super-delayed response, but I am combing through our backlog and wanted to be sure and share a recent blog post related to this very topic:

> **[Using TikTok as a Custom Social Connection in Auth0](https://auth0.com/blog/using-tik-tok-as-a-custom-social-connection-in-auth0/)**
>
> Auth0 allows you to create custom social connections. In this post you'll learn how to create and set up Auth0 with TikTok

Hope this helps!

---

<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:** [February 15, 2023, 11:02pm UTC](https://community.auth0.com/t/tiktok-custom-social-connection/85137/3 "2023-02-15T23:02:34Z")

</div>

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