TikTok Custom Social Connection

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 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 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!

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:

Hope this helps!

1 Like

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