TikTok Shop: server-level public app and App Store installs

クローズ
#1,533 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@helpcodeai がすでに取り組んでいます。

2026年11月5日 から。

  • #1535 @helpcodeai による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
typescript

調査の方向性

Read the TikTok Shop connector and OAuth callback flow, then inspect the setup page and server configuration for existing app credentials. Trace how authorization state and workspace connector creation work before assessing the proposed install flow. Done means supporting server-level app credentials, setup behavior, and App Store installs in both cloud and self-hosted modes; linked pull request #1535 is already open.

索引モデルが issue の本文から書いたものです。

説明

Follow-up to #1522 / #1523.

Why

Most TikTok Shop sellers cannot create their own Partner Center app: TikTok only lets sellers with an assigned account manager register as seller developers. So the TikTok Shop connector, which today needs the seller's own App key, App secret and Service ID, works only for a few sellers.

A server can register one public TikTok Shop app (an ISV app in the TikTok Shop App Store) and let every seller authorize that app. TikTok reviews such an app before it is listed, and its reviewers install it from the App Store. That install sends the seller to our Redirect URL with a code but without a state we issued, which the callback refuses today.

Proposal

  1. Server app. New optional server variables: TIKTOK_SHOP_PLATFORM_APP_KEY, TIKTOK_SHOP_PLATFORM_APP_SECRET and TIKTOK_SHOP_PLATFORM_SERVICE_ID.
    • When they are set and a TikTok Shop connector leaves its own App key empty, the connector signs, authorizes and renews with the server app.
    • A connector that has its own App key keeps using it, as today.
    • The server secret is never written to a connector and never shown in the dashboard.
  2. Setup. When the server app is available, the setup page does not ask for App key, App secret or Service ID. The seller can still enter their own app.
  3. Store-initiated install. When the callback has a code but no state we issued, and the server app is configured, it does the following:
    • it stores a single-use install record;
    • it forwards the seller to the dashboard, where they sign in or sign up;
    • it adds a TikTok Shop connector to their workspace, or reuses one that still waits for authorization;
    • it exchanges the code with the server app.

Cloud and self-hosted

The behaviour is identical in both modes and depends only on the server variables.

  • Self-hosted: with the variables unset, nothing changes.
  • Cloud: sets them to the AnythingMCP app.
主要言語
TypeScript
スター
856
フォーク
82
平均マージ
5時間 58分
マージ済み PR(30日)
457

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

HelpCode-ai/anythingmcp のほかの issue

HelpCode-ai/anythingmcp の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。