add additional scopes url

This commit is contained in:
abhishek9686 2024-05-27 14:07:52 +05:30
parent 68758c8f76
commit 55601d4d80

View file

@ -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://www.googleapis.com/auth/groups"},
Scopes: []string{"https://www.googleapis.com/auth/userinfo.email", "https://apps-apis.google.com/a/feeds/groups"},
Endpoint: google.Endpoint,
}
}