Appearance
TikTok authentication
TikTok authentication lets your users sign in with their TikTok account.
Setup in the TikTok dashboard
- Go to the TikTok developer portal for your app.
- Create an OAuth application (or open an existing one).
- Add a redirect URL (the URL TikTok sends users back to after login).
- Use the full URL of the page you select as
Success pagein WeWeb.
- Use the full URL of the page you select as
- Copy the credentials TikTok provides (for example
Client Key/Client IDandClient Secret).
Connect TikTok in WeWeb
- In the WeWeb editor, go to
Data & API → Auth → Integrating providers. - Select
TikTokand turn on theEnabletoggle. - Paste your credentials into the fields shown in WeWeb.
- Click
Save.
Test sign in
- Add a “Continue with TikTok” button in
Interface. - Create a workflow on click and add
Sign in with social provider. - Set:
Provider:tiktokSuccess page,Error page, And (optional)New user page
- Preview and complete the sign-in flow.
Common pitfalls
Redirect URL mismatch
Make sure the redirect URL in TikTok exactly matches the Success page URL you selected in WeWeb.
Reference
| Setting in WeWeb | Description | Where to find it in TikTok |
|---|---|---|
Client ID / Client Key | Identifies your TikTok app. | TikTok developer portal app settings. |
Client Secret | Used to complete the sign-in flow securely. | TikTok developer portal app settings. |
FAQs
Which redirect URL should I add in TikTok?
Use the full URL of the page you choose as Success page in Sign in with social provider.

