It fits creator tools and consumer apps whose audience arrives from TikTok in the first place.
Copy the redirect URI
In the Authdog console, select the project and environment, open Authentication > Providers, find TikTok, and click Enable. Copy the redirect URI shown in the form:
https://identity.authdog.com/api/v1/callback/<connectionId>Create the TikTok app
- Open the TikTok for Developers portal and register an app.
- Complete the app details, name, icon, category, description, and the terms and privacy URLs. TikTok checks these during review.
- Add the Login Kit product.
- Under Redirect URI, paste the redirect URI from Authdog.
- Request the
user.info.basicscope. - Submit the app for review, and wait for approval.
- Copy the Client Key and Client Secret.
Configure Authdog
| Field | Value |
|---|---|
| Client ID | The TikTok Client Key |
| Client Secret | The TikTok Client Secret |
Save, then toggle the connection active.
What TikTok returns
Authdog requests user.info.basic and reads the profile from https://open.tiktokapis.com/v2/user/info/, an open ID, display name, and avatar.
No email address is available at this scope, and TikTok does not offer an email scope for Login Kit. Users arriving through TikTok have a display name and an identifier only, so pair this connector with one that provides a contact address, or ask for an email after sign-up.
TikTok's identifiers are app-scoped: the same person authorizing two of your apps produces two different open IDs.
Test it
- Add your test account under the app's tester list if the app is still in review.
- Open your environment's hosted sign-in page, or link to
https://identity.authdog.com/api/v1/signin/<connectionId>. - Select the TikTok button and authorize.
- Confirm the user appears under Users, with no email, expected for this connector.
Troubleshooting
| Symptom | Cause |
|---|---|
redirect_uri error before the consent screen |
The URI is not registered on the app, or the app is not approved |
invalid_client_key |
The client key belongs to a different app or environment |
| Only some accounts can sign in | The app is pre-review and limited to listed testers |
Related
| Read | To learn how to |
|---|---|
| Connectors | Set up any other social provider |
| Users | Collect an email after a first sign-in |