Skip to content
This repository was archived by the owner on Apr 13, 2025. It is now read-only.

Commit 9e0d1ec

Browse files
authored
Merge pull request #213 from codeoverflow-org/fix/212-youtube-token-refreshing
Fix youtube token refreshing by always prompting user for consent
2 parents 4edf15e + 6eb967f commit 9e0d1ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nodecg-io-youtube/extension/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class YoutubeService extends ServiceBundle<YoutubeServiceConfig, YoutubeServiceC
2929
const authUrl = auth.generateAuthUrl({
3030
access_type: "offline",
3131
scope: "https://www.googleapis.com/auth/youtube",
32+
prompt: "consent",
3233
});
3334

3435
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)