TikTok
Due to TikTok’s requirement to verify URL ownership for all redirect URLs, TikTok cannot be used with Dynamic shared credentials in sandbox or production environments. You will need create an app with custom credentials. To go to production, you will need use to contact us for custom domains.
Creating a new sandbox application
• When you are creating your app, make sure to specify “Configure for Web” for your app type (it will be treated as a web app in the context of OAuth)
• Your OAuth client_id is referred to as client_key
• As of September 2024, TikTok requires Terms of Service URL, Privacy Policy URL, your Desktop or web URL, Redirect URI and Webhooks Callback URL
• TikTok docs and pre-requisites can be found here
Here are the step-by-step instructions for obtaining OAuth credentials for TikTok:
- Go to the TikTok Developer Portal and sign in to your account.
- Once you’re signed in, click on “Connect an app”
- Fill out the “App name” and specify if this is for an Individual or an Organization, then click “Confirm”
- Make sure that “Sandbox” is selected. Sandbox applications do not require domain verification
- Fill out the “Category”, “Description”, “Terms of Service URL”, “Privacy Policy URL”
- Select “Web” under “Platforms”
- Under “Products”, select “Add Products” and click on “Login Kit”
- Under “App info” paste your “Redirect URL” (Redirect URL can be found in the Dynamic dashboard https://app.dynamic.xyz/dashboard/log-in-user-profile#social-tiktok)
- Enter your “Website URL”.
- In order to allow test users to login, click “Add account” under “Target Users” and link an existing TikTok account
- Click save under the form.
- Copy and paste the “Client Key” and “Client Secret” and paste it into “Set up TikTok Auth” Modal in the Dynamic Dashboard.
That’s it! You now have OAuth credentials for your TikTok application that you can use in Dynamic.
Creating a production app
Contact us to setup a custom domain due to TikTok’s callback URI verification requirements. This step will be improved in the near future.