Hệ thống Auth chưa sẵn sàng (thiếu cấu hình Database).

Platform Setup Command Center

Hướng dẫn toàn diện để kết nối các nền tảng với an toàn tối đa

⚠️ Cảnh báo bảo mật nghiêm trọng

🔒 NEVER enter secrets, API keys, or tokens vào input fields

🔐 Trang này KHÔNG lưu credentials vào localStorage hay database

👁️ Secret patterns ở dưới chỉ để scan environment, KHÔNG để detect stored secrets

📋 Export functionality chỉ xuất setup instructions, KHÔNG chứa credentials

🛡️ Luôn dùng Token Vault hoặc environment variables cho credentials

Platforms Supported

6

Security Score

100/100

Token Vault Status

Ready

Chọn Platforms Cần Setup

Chọn các nền tảng mà bạn muốn sử dụng

Chi tiết Setup từng Platform

🎬

YouTube

Upload videos, manage playlists, and engage audiences

OAuth Required
App Review
Token Vault
1

Create project tại Google Cloud Console

2

Enable YouTube Data API v3

3

Create OAuth 2.0 client ID (Desktop app)

4

Configure redirect URI: http://localhost:3000/oauth-center/youtube/callback

5

Lưu credentials vào Token Vault (KHÔNG lưu localStorage)

🎵

TikTok

Post videos, analyze trends, schedule content

OAuth Required
App Review
Token Vault
1

Đăng ký TikTok Creator Portal

2

Apply for official API access

3

Chờ approval từ TikTok (thường 5-7 ngày)

4

Nhận OAuth credentials

5

Lưu vào Token Vault với encryption

📱

Meta (Facebook/Instagram)

Manage Facebook Pages, Instagram, and Threads

OAuth Required
App Review
Token Vault
1

Tạo Meta App tại developers.facebook.com

2

Add Facebook Login product

3

Configure OAuth redirect URIs

4

Get app review approval

5

Store tokens trong secure token vault

🛍️

Shopee Affiliate Program

Generate affiliate links, track commissions

OAuth Required
Token Vault
1

Đăng ký Shopee Affiliate Program

2

Tạo API credentials từ dashboard

3

Copy API key và secret

4

KHÔNG nhập vào input fields

5

Sử dụng Token Vault hoặc environment variables

🏪

Shopee Open Platform

Manage shop inventory, orders, and analytics

OAuth Required
App Review
Token Vault
1

Register Shopee shop

2

Apply for Shopee Open Platform access

3

Create partner account

4

Submit app for review

5

Store credentials securely after approval

⚙️

Worker/DigitalOcean Scheduler

Automated scheduling and batch processing

Token Vault
1

Deploy tới Cloudflare Workers hoặc DigitalOcean

2

Set environment variables cho scheduling

3

Configure webhook endpoints

4

Test với staging environment

5

Monitor logs và performance

Secret Pattern Detection Reference

Đây KHÔNG phải công cụ để detect credentials của bạn - chỉ là reference của các patterns cần avoid

API_KEY
Reference Only
SECRET_KEY
Reference Only
ACCESS_TOKEN
Reference Only
REFRESH_TOKEN
Reference Only
BEARER_TOKEN
Reference Only
OAUTH_TOKEN
Reference Only
JWT_TOKEN
Reference Only
AWS_KEY
Reference Only
GCP_KEY
Reference Only
GITHUB_TOKEN
Reference Only
SLACK_TOKEN
Reference Only

✓ Nếu bạn thấy patterns này trong environment, hãy rotate credentials ngay lập tức

OAuth Integration Planner

Step 1: Create OAuth App

  • • Vào platform developer dashboard
  • • Tạo application mới
  • • Đặt tên theo pattern: [AppName]-[Environment]
  • • Enable APIs cần thiết

Step 2: Configure Redirect URIs

  • • Local development: http://localhost:3000/oauth-center/[platform]/callback
  • • Staging: https://staging.yourdomain.com/oauth-center/[platform]/callback
  • • Production: https://yourdomain.com/oauth-center/[platform]/callback

Step 3: Store Credentials Securely

  • ✗ KHÔNG lưu vào .env.local (git may expose)
  • ✗ KHÔNG input vào form fields
  • ✓ LƯU vào Token Vault (encrypted)
  • ✓ LƯU vào Cloudflare/DigitalOcean environment
  • ✓ LƯU vào 1Password/LastPass team vault

Safe Environment Setup

✓ Recommended

  • • Token Vault (encrypted storage)
  • • Environment variables (server-side only)
  • • Cloudflare Workers KV
  • • DigitalOcean App Platform
  • • 1Password/LastPass APIs

✗ Never Use

  • • localStorage (client-side exposure)
  • • sessionStorage (vulnerability risk)
  • • Browser cookies (easily compromised)
  • • React state (memory exposure)
  • • Git repositories (.env files)

Privacy & Compliance Checklist

Platform Requirements Matrix

PlatformOAuthApp ReviewToken VaultAPI Support
🎬 YouTube
Yes
Required
🎵 TikTok
Yes
Required
📱 Meta (Facebook/Instagram)
Yes
Required
🛍️ Shopee Affiliate Program
Yes
Optional
🏪 Shopee Open Platform
Yes
Required
⚙️ Worker/DigitalOcean Scheduler
No
Optional

⚠️ Important: Trang này là một phần của Platform Setup Command Center nhằm hướng dẫn an toàn

🔐 Security First: Tất cả credentials phải được quản lý thông qua Token Vault hoặc environment variables

📅 Regular Maintenance: Kiểm tra và rotate credentials mỗi 90 ngày