Skip to content

Fix YouTube request tokens across parallel sessions - #16

Merged
deltaaa00 merged 2 commits into
mainfrom
dev
Nov 17, 2026
Merged

deltaaa00 merged 2 commits into
mainfrom
dev

Conversation

@deltaaa00

Copy link
Copy Markdown
Owner

Fix YouTube actions failing with an invalid request token when parallel responses overwrite the browser session cookie.

Initialize the YouTube session before serving Video Studio, avoid refreshing cookies on read-only requests, and refresh the request token before mutations. Retry once only when the server explicitly rejects CSRF before any side effect. Add regression tests and exclude server data and backups from Git and Docker build contexts.

Validation: 34 YouTube/authentication tests and 2 YouTube browser tests passed locally.

@deltaaa00
deltaaa00 merged commit 14f4a7b into main Nov 17, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant