+18
−0
+4
−0
Loading
API tokens snapshot the blog authid of the session that created them.
Once that auth session expired, every MCP publish failed with 403
"Auth session not valid on blog server", and logging in again did not
help — only creating a new token did.
On each successful editor login (password login and SSO hydration via
the authid cookie) re-point all api_tokens of that uid/domain at the
fresh authid. Best effort: a DB error never fails the login.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>