TikTok authorization callback
TikTok redirects users to a registered callback URL after they approve (or deny) authorization. For Content Posting Helper, that callback URL is:
https://www.nopostnomoney.com/api/tiktok/callback
The site exchanges the authorization code for tokens on the server (secrets never appear in the browser). After a successful login, you will see a short success page; access tokens stay on the server. For a durable production database, replace the temporary in-memory store in the codebase.
Developer checklist
- Register the exact callback URL in the TikTok developer portal.
- Use HTTPS in production (Vercel provides this automatically).
- Keep the path short and stable:
/api/tiktok/callback. - Set
TIKTOK_CLIENT_KEYandTIKTOK_CLIENT_SECRETin the server environment.
Contact: support@nopostnomoney.com