Skip to content

Integrations

TikTok

Set up TikTok OAuth for user data and video management

Connect the application’s users to TikTok for profile data, video management, content publishing, and creator analytics.

PropertyValue
Provider IDtiktok
CategorySocial
PKCENot supported (TikTok’s web Login Kit flow does not use PKCE)
Token refreshAutomatic
Redirect URIShown in Developer Portal

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.

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.

ScopeDescription
user.info.basicRead the user’s profile info (open_id, avatar, display name)
user.info.profileRead additional profile fields (bio, profile links, verification status)
user.info.statsRead profile engagement statistics (likes, followers, following, video count)
video.listRead the user’s public videos on TikTok
video.publishDirectly post content to the user’s TikTok profile (requires TikTok app audit)
video.uploadShare 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.publish by 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.

Alter policy rules can target these attested operations and families for operation-level and parameter-aware controls.

Operation IDFamiliesMethodProvider pathNotes
post/publish/video-initsendPOST/v2/post/publish/video/init/—
post/publish/content-initsendPOST/v2/post/publish/content/init/—
post/publish/inbox-video-initwritePOST/v2/post/publish/inbox/video/init/—
post/publish/creator-inforeadPOST/v2/post/publish/creator_info/query/—
post/publish/statusreadPOST/v2/post/publish/status/fetch/—
user/inforeadGET/v2/user/info/—
video/listreadPOST/v2/video/list/—
video/queryreadPOST/v2/video/query/—
oauth/tokenadminPOST/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)

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 ruleMethodProvider path
tiktok:oauth/revokePOST/v2/oauth/revoke/

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.