fix(sync): 403 insufficientPermissions -> scope youtube complet + invite reconnect

This commit is contained in:
2026-09-26 23:26:04 -04:00
parent 41875dc50d
commit 464d6f1b80
4 changed files with 14 additions and 2 deletions
+4
View File
@@ -24,6 +24,10 @@ const GOOGLE_SCOPES = [
// Écriture Watch Later (playlistItems.insert/delete). Lecture seule
// (abos, likes, WL) fonctionne sans lui ; le push exige un re-consentement.
'https://www.googleapis.com/auth/youtube.force-ssl',
// InnerTube authentifié (historique FEhistory, playlist WL) exige le scope
// complet : avec readonly seul, YouTube répond 403 insufficientPermissions.
// Les connexions existantes doivent se reconnecter pour l'obtenir.
'https://www.googleapis.com/auth/youtube',
].join(' ');
/** Le jeton stocké permet-il l'écriture (push Watch Later) ? */