Skip to content

feat: tiktok audience accounts v2#2334

Merged
achettyiitr merged 3 commits intodevelopfrom
feat.tiktok-accounts-v2
Mar 4, 2026
Merged

feat: tiktok audience accounts v2#2334
achettyiitr merged 3 commits intodevelopfrom
feat.tiktok-accounts-v2

Conversation

@achettyiitr
Copy link
Member

@achettyiitr achettyiitr commented Feb 9, 2026

🔒 Scanned for secrets using gitleaks 8.29.1

What are the changes introduced in this PR?

  • Add accounts/tiktok_audience_oauth/ with:
    • db-config.json: defines account type DESTINATION_TIKTOK_AUDIENCE_OAUTH (OAuth, refresh token)
    • schema.json: options schema for account (empty properties)
    • ui-config.json: OAuth “Create account to connect” form with account name field
  • Update root db-config.json with supportedAccountDefinitions so rudderAccountId uses DESTINATION_TIKTOK_AUDIENCE_OAUTH

What is the related Linear task?

  • Resolves INT-5728

Summary by CodeRabbit

  • New Features
    • Added OAuth authentication support for TikTok Audience so users can securely connect accounts without sharing passwords.
    • Introduced an account-creation UI for OAuth connections with a simple "Account name" field and explanatory text.
    • Enabled the destination to recognize and support OAuth-based account mappings for linking user accounts.

🔒 Scanned for secrets using gitleaks 8.29.1
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

Adds OAuth account support for the TikTok Audience destination via three new account-level config files (db-config, schema, UI) and updates the parent destination db-config to register the new OAuth account definition.

Changes

Cohort / File(s) Summary
TikTok Audience OAuth account configs
src/configurations/destinations/tiktok_audience/accounts/tiktok_audience_oauth/db-config.json, src/configurations/destinations/tiktok_audience/accounts/tiktok_audience_oauth/schema.json, src/configurations/destinations/tiktok_audience/accounts/tiktok_audience_oauth/ui-config.json
Adds a new OAuth account type DESTINATION_TIKTOK_AUDIENCE_OAUTH with destination metadata, an empty options schema (Draft-07), and UI metadata/form for account creation (name field, OAuth flags, icon).
TikTok Audience destination registration
src/configurations/destinations/tiktok_audience/db-config.json
Adds config.supportedAccountDefinitions mapping mapping rudderAccountId to ["DESTINATION_TIKTOK_AUDIENCE_OAUTH"] to register the new OAuth account definition.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A tiny hop, an OAuth key held tight,
TikTok Audience wakes to a new light,
Configs in place, a name field to fill,
I nibble a carrot and twirl with a thrill 🥕🔑

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers what changes were introduced and includes the related Linear task (INT-5728), but is missing most required template sections like objectives, dependency details, and the developer/reviewer checklists. Add missing sections from the template: objectives, changes to existing capabilities, new dependencies, test suite changes, and complete the developer/reviewer checklists to ensure full compliance.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat: tiktok audience accounts v2' clearly summarizes the main change: adding OAuth account support for TikTok Audience with v2 account definitions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat.tiktok-accounts-v2

No actionable comments were generated in the recent review. 🎉

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link

codecov bot commented Feb 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (a3f4ad6) to head (44524c1).
⚠️ Report is 8 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop     #2334   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            2         2           
  Lines           72        72           
  Branches         8         8           
=========================================
  Hits            72        72           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

🔒 Scanned for secrets using gitleaks 8.29.1
@achettyiitr achettyiitr merged commit 2f88f37 into develop Mar 4, 2026
15 checks passed
@achettyiitr achettyiitr deleted the feat.tiktok-accounts-v2 branch March 4, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants