removed scope

This commit is contained in:
Omer Sabic 2024-08-14 15:50:44 +02:00
parent 895fb12140
commit d61b0a767a

View File

@ -54,7 +54,7 @@ export const main = async () => {
server.register(oauth, { server.register(oauth, {
name: 'googleOAuth2', name: 'googleOAuth2',
scope: ['https://www.googleapis.com/auth/youtube.readonly', 'https://www.googleapis.com/auth/youtube.force-ssl', "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"], scope: ['https://www.googleapis.com/auth/youtube.readonly', "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/userinfo.profile"],
credentials: { credentials: {
client: { client: {
id: env.GOOGLE_CLIENT_ID, id: env.GOOGLE_CLIENT_ID,