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
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
Create project tại Google Cloud Console
Enable YouTube Data API v3
Create OAuth 2.0 client ID (Desktop app)
Configure redirect URI: http://localhost:3000/oauth-center/youtube/callback
Lưu credentials vào Token Vault (KHÔNG lưu localStorage)
TikTok
Post videos, analyze trends, schedule content
Đăng ký TikTok Creator Portal
Apply for official API access
Chờ approval từ TikTok (thường 5-7 ngày)
Nhận OAuth credentials
Lưu vào Token Vault với encryption
Meta (Facebook/Instagram)
Manage Facebook Pages, Instagram, and Threads
Tạo Meta App tại developers.facebook.com
Add Facebook Login product
Configure OAuth redirect URIs
Get app review approval
Store tokens trong secure token vault
Shopee Affiliate Program
Generate affiliate links, track commissions
Đăng ký Shopee Affiliate Program
Tạo API credentials từ dashboard
Copy API key và secret
KHÔNG nhập vào input fields
Sử dụng Token Vault hoặc environment variables
Shopee Open Platform
Manage shop inventory, orders, and analytics
Register Shopee shop
Apply for Shopee Open Platform access
Create partner account
Submit app for review
Store credentials securely after approval
Worker/DigitalOcean Scheduler
Automated scheduling and batch processing
Deploy tới Cloudflare Workers hoặc DigitalOcean
Set environment variables cho scheduling
Configure webhook endpoints
Test với staging environment
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
✓ 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
| Platform | OAuth | App Review | Token Vault | API 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