removed youtube scope

This commit is contained in:
Omer Sabic 2024-08-25 18:39:24 +02:00
parent e222cec776
commit 557ea7ede5

View File

@ -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,