mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-09 05:09:39 +00:00
Removed unnecessary scopes
This commit is contained in:
@@ -61,7 +61,7 @@ export class GoogleAuth {
|
||||
authServer.on('listening', () => {
|
||||
const authUrl = oAuth2Client.generateAuthUrl({
|
||||
access_type: 'offline',
|
||||
scope: ['profile', 'email', 'https://www.googleapis.com/auth/drive.readonly'],
|
||||
scope: ['https://www.googleapis.com/auth/drive.readonly'],
|
||||
redirect_uri: REDIRECT_URI
|
||||
})
|
||||
|
||||
@@ -76,8 +76,7 @@ export class GoogleAuth {
|
||||
center: true,
|
||||
thickFrame: true,
|
||||
useContentSize: true,
|
||||
width: 400,
|
||||
|
||||
width: 400
|
||||
})
|
||||
popupWindow.loadURL(authUrl, { userAgent: 'Chrome' })
|
||||
popupWindow.on('ready-to-show', () => popupWindow.show())
|
||||
|
||||
Reference in New Issue
Block a user