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 247e247 commit 8fccf48Copy full SHA for 8fccf48
providers/github/auth.js
@@ -33,15 +33,15 @@ const githubAuth = (req, res) => {
33
}
34
35
if (type === "event-badging") {
36
- const scopes = ["repo"];
+ const scopes = ["public_repo"];
37
const encryptedFormData = encrypt(JSON.stringify(req.body));
38
const url = `https://github.com/login/oauth/authorize?client_id=${
39
process.env.GITHUB_AUTH_CLIENT_ID
40
}&scope=${scopes.join(",")}&state=${encryptedFormData}`;
41
42
res.send({ authorizationLink: url });
43
} else {
44
- const scopes = ["user", "repo"];
+ const scopes = ["user", "public_repo"];
45
46
47
}&scope=${scopes.join(",")}`;
0 commit comments