Code review update, removing sheets scope from authentication
This commit is contained in:
parent
5c1ea3cfe1
commit
ec67fb9038
|
@ -170,7 +170,7 @@ export const googlePreAuth = async (ctx: any, next: any) => {
|
||||||
const strategy = await google.strategyFactory(config, callbackUrl, users.save)
|
const strategy = await google.strategyFactory(config, callbackUrl, users.save)
|
||||||
|
|
||||||
return passport.authenticate(strategy, {
|
return passport.authenticate(strategy, {
|
||||||
scope: ["profile", "email", "https://www.googleapis.com/auth/spreadsheets"],
|
scope: ["profile", "email"],
|
||||||
accessType: "offline",
|
accessType: "offline",
|
||||||
prompt: "consent",
|
prompt: "consent",
|
||||||
})(ctx, next)
|
})(ctx, next)
|
||||||
|
|
Loading…
Reference in New Issue