Skip to content

Commit 146c730

Browse files
feat: update github auth
1 parent 7c071bd commit 146c730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/uz/server/controller/FrontController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public String index() {
2626
@GetMapping("/github")
2727
public RedirectView redirectToGithub() {
2828
return new RedirectView(String.format(
29-
"https://github.com/login/oauth/authorize?client_id=%s&redirect_uri=%s&scope=user",
29+
"https://github.com/login/oauth/authorize?client_id=%s&redirect_uri=%s&scope=user:email",
3030
clientId,
3131
redirectUri
3232
));

0 commit comments

Comments
 (0)