
## Patch glass14 (2026-11-02): TikTok token rotation

Functional change to the TikTok refresh path, for TikTok effective 2026-12-01 (access token 2 h, refresh token 180 d,
every refresh issues a new refresh token and invalidates the old one):
- TikTok provider uses expires_in from TikTok instead of a fixed 23 hours, runs the timed refresh workflow, and a failed
  profile lookup no longer discards the rotated refresh token.
- The timed refresh runs 15 minutes before expiry (or half the remaining lifetime if that is shorter).
- Refresh takes a Postgres advisory lock per channel, re-reads the stored tokens, and skips the call when another process
  already refreshed. Applies to every provider.
Test hooks (default off): TIKTOK_API_BASE, TIKTOK_FORCE_EXPIRES_IN.
