We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fccf48 commit 9b2609cCopy full SHA for 9b2609c
providers/github/auth.js
@@ -41,7 +41,7 @@ const githubAuth = (req, res) => {
41
42
res.send({ authorizationLink: url });
43
} else {
44
- const scopes = ["user", "public_repo"];
+ const scopes = ["read:user", "user:email", "public_repo"];
45
const url = `https://github.com/login/oauth/authorize?client_id=${
46
process.env.GITHUB_AUTH_CLIENT_ID
47
}&scope=${scopes.join(",")}`;
0 commit comments