From c445890a43861f5f4f7e00b99a6670f120dddfd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=EC=88=98=EB=B9=88?= Date: Thu, 24 Oct 2024 11:27:34 +0900 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=EA=B9=83=ED=97=88=EB=B8=8C?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=9D=B4=EB=A9=94=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A7=91=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=ED=95=A9=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../develup/infra/auth/oauth/github/GithubOAuthStrategy.java | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main/java/develup/infra/auth/oauth/github/GithubOAuthStrategy.java b/backend/src/main/java/develup/infra/auth/oauth/github/GithubOAuthStrategy.java index 300a2b41..7dc09b8a 100644 --- a/backend/src/main/java/develup/infra/auth/oauth/github/GithubOAuthStrategy.java +++ b/backend/src/main/java/develup/infra/auth/oauth/github/GithubOAuthStrategy.java @@ -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(); } From 7af7f70ab86a93a71a90e8a416bc05b5f11d12da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=EC=88=98=EB=B9=88?= Date: Thu, 24 Oct 2024 11:31:47 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EC=9D=B4=EB=A9=94=EC=9D=BC=20?= =?UTF-8?q?=EB=84=98=EA=B8=B0=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../infra/auth/oauth/github/dto/GithubUserInfoResponse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/develup/infra/auth/oauth/github/dto/GithubUserInfoResponse.java b/backend/src/main/java/develup/infra/auth/oauth/github/dto/GithubUserInfoResponse.java index 8f5c9740..b913c31c 100644 --- a/backend/src/main/java/develup/infra/auth/oauth/github/dto/GithubUserInfoResponse.java +++ b/backend/src/main/java/develup/infra/auth/oauth/github/dto/GithubUserInfoResponse.java @@ -19,7 +19,7 @@ public OAuthUserInfo toOAuthUserInfo() { id, login, avatarUrl, - email, + null, name ); }