Skip to content

Commit

Permalink
깃허브에서 이메일 수집하지 않도록 변경합니다. (issue #735) (#736)
Browse files Browse the repository at this point in the history
* feat: 깃허브에서 이메일 수집하지 않도록 변경합니다.

* feat: 이메일 넘기지 않도록 수정
  • Loading branch information
robinjoon authored Oct 24, 2024
1 parent b042303 commit cfb222f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public String buildOAuthLoginUrl(String next) {
return UriComponentsBuilder.fromHttpUrl("https://github.com/login/oauth/authorize")
.queryParam("client_id", properties.clientId())
.queryParam("redirect_uri", redirectUriWithNext)
.queryParam("scope", "user:email")
.build()
.toUriString();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public OAuthUserInfo toOAuthUserInfo() {
id,
login,
avatarUrl,
email,
null,
name
);
}
Expand Down

0 comments on commit cfb222f

Please sign in to comment.