Restrict Google OAuth to youtube.force-ssl and document zero Google data sharing.
Addresses Google OAuth verification feedback on scopes and privacy disclosure.
This commit is contained in:
+1
-3
@@ -19,9 +19,7 @@ export const authOptions: NextAuthOptions = {
|
||||
"openid",
|
||||
"email",
|
||||
"profile",
|
||||
"https://www.googleapis.com/auth/youtube.upload",
|
||||
"https://www.googleapis.com/auth/youtube.readonly",
|
||||
// Required to add uploaded videos to playlists
|
||||
// Single YouTube Data API scope (covers upload, channel, and playlist APIs)
|
||||
"https://www.googleapis.com/auth/youtube.force-ssl",
|
||||
].join(" "),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user