fix: scope for github auth

This commit is contained in:
Lakhan Samani
2022-09-14 11:45:38 +05:30
parent ed849fa6f6
commit 993693884d
2 changed files with 8 additions and 7 deletions

View File

@@ -75,6 +75,7 @@ func InitOAuth() error {
ClientSecret: githubClientSecret,
RedirectURL: "/oauth_callback/github",
Endpoint: githubOAuth2.Endpoint,
Scopes: []string{"read:user", "user:email"},
}
}