Integrations
TikTok
Set up TikTok OAuth for user data and video management
Overview
Section titled “Overview”Connect the application’s users to TikTok for profile data, video management, content publishing, and creator analytics.
| Property | Value |
|---|---|
| Provider ID | tiktok |
| Category | Social |
| PKCE | Not supported (TikTok’s web Login Kit flow does not use PKCE) |
| Token refresh | Automatic |
| Redirect URI | Shown in Developer Portal |
Step 1: Create a TikTok OAuth App
Section titled “Step 1: Create a TikTok OAuth App”Go to the TikTok for Developers portal
Navigate to developers.tiktok.com and sign in.
Create a new app
Click the profile icon, then Manage apps > Connect an app, and select the app owner. Under App details, fill in Basic information and select the Web platform.
Add Login Kit and configure the redirect URI
Under Products, click Add products and add Login Kit (and Content Posting API for video.publish / video.upload). In the Login Kit settings, add the Alter callback URL from the Developer Portal as a Redirect URI.
Add scopes
Under Scopes, add every scope the application will request.
Get credentials
Under App details > Credentials, copy the Client key (Client ID) and Client secret (Client Secret).
Submit for review
Submit the app for review, or switch to Sandbox mode to test before review.
Step 2: Add to Alter Vault
Section titled “Step 2: Add to Alter Vault”Open the Developer Portal
Go to portal.alterauth.com and navigate to the application.
Add TikTok provider
Go to OAuth Providers > Add Provider > TikTok.
Enter credentials
- Client ID: Paste the TikTok Client key
- Client Secret: Paste the TikTok Client secret
Select scopes
Choose the scopes the application needs.
Save
Click Save. The provider is now active.
Available Scopes
Section titled “Available Scopes”| Scope | Description |
|---|---|
user.info.basic | Read the user’s profile info (open_id, avatar, display name) |
user.info.profile | Read additional profile fields (bio, profile links, verification status) |
user.info.stats | Read profile engagement statistics (likes, followers, following, video count) |
video.list | Read the user’s public videos on TikTok |
video.publish | Directly post content to the user’s TikTok profile (requires TikTok app audit) |
video.upload | Share content to the creator’s TikTok inbox as a draft for further editing |
- Login Kit / Display API / Content Posting scopes require product enablement, and the app must pass TikTok’s app review before it is live. Content posted with
video.publishby an unaudited app is restricted to private viewing. - Research, Data Portability, and Local Service scopes are separate TikTok products and are not exposed in this catalog.
- See the TikTok scopes reference for more details.
Policy-cataloged operations
Section titled “Policy-cataloged operations”Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.
| Operation ID | Families | Method | Provider path | Notes |
|---|---|---|---|---|
post/publish/video-init | send | POST | /v2/post/publish/video/init/ | — |
post/publish/content-init | send | POST | /v2/post/publish/content/init/ | — |
post/publish/inbox-video-init | write | POST | /v2/post/publish/inbox/video/init/ | — |
post/publish/creator-info | read | POST | /v2/post/publish/creator_info/query/ | — |
post/publish/status | read | POST | /v2/post/publish/status/fetch/ | — |
user/info | read | GET | /v2/user/info/ | — |
video/list | read | POST | /v2/video/list/ | — |
video/query | read | POST | /v2/video/query/ | — |
oauth/token | admin | POST | /v2/oauth/token/ | refused by default: hands the caller a provider credential, or revokes the connection’s own (a credential_minting rule can allow it) |
Unreviewed operations
Section titled “Unreviewed operations”These operations are in the provider’s published API specification, but Alter has not reviewed them yet, so their families are unknown. Every operation, family or content rule refuses one with operation_unreviewed unless a rule admits it by name, so a broad rule cannot be dodged by calling one. A rule names one by the provider-qualified name in the first column, never by the bare operation ID, which other providers may share. To use one under a rule, list that name in an operation allowlist to allow it, or in a require_approval rule whose every condition names it to hold it for approval; saving such a rule needs an organization admin. A family never admits one. Because an unreviewed operation may create credentials or change account security, admitting one also needs a scoped credential_minting allowance naming the provider and that name. See Unreviewed operations.
| Name in a rule | Method | Provider path |
|---|---|---|
tiktok:oauth/revoke | POST | /v2/oauth/revoke/ |