瀏覽代碼

rm additional scopes url

abhishek9686 1 年之前
父節點
當前提交
3adb0a3e32
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pro/auth/google.go

+ 1 - 1
pro/auth/google.go

@@ -34,7 +34,7 @@ func initGoogle(redirectURL string, clientID string, clientSecret string) {
 		RedirectURL:  redirectURL,
 		ClientID:     clientID,
 		ClientSecret: clientSecret,
-		Scopes:       []string{"https://www.googleapis.com/auth/userinfo.email", "https://apps-apis.google.com/a/feeds/groups"},
+		Scopes:       []string{"https://www.googleapis.com/auth/userinfo.email"},
 		Endpoint:     google.Endpoint,
 	}
 }