From 557ea7ede54fd31d71e77810c6427007c6886be0 Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Sun, 25 Aug 2024 18:39:24 +0200 Subject: [PATCH] removed youtube scope --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 948803e..03406c4 100644 --- a/src/index.js +++ b/src/index.js @@ -54,7 +54,7 @@ export const main = async () => { server.register(oauth, { name: 'googleOAuth2', - scope: ['https://www.googleapis.com/auth/youtube.readonly', "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"], + scope: ["https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"], credentials: { client: { id: env.GOOGLE_CLIENT_ID,