From f1fa7b6c548872d72aa9cf0bf9bfe5b8c935ea9c Mon Sep 17 00:00:00 2001 From: 12975 <1297598740@qq.com> Date: Thu, 29 Jan 2026 19:21:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20Gitee=20OAuth=20?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=EF=BC=8C=E7=94=A8=E4=BA=8E=E5=A4=84=E7=90=86?= =?UTF-8?q?=20Gitee=20=E6=8E=88=E6=9D=83=E7=99=BB=E5=BD=95=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/gitee_oauth_service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/gitee_oauth_service.go b/internal/service/gitee_oauth_service.go index 225386e..e255cba 100644 --- a/internal/service/gitee_oauth_service.go +++ b/internal/service/gitee_oauth_service.go @@ -69,7 +69,7 @@ func (s *GiteeOAuthService) GetAuthorizationURL(state string) string { params.Set("client_id", s.cfg.GiteeClientID) params.Set("redirect_uri", s.cfg.GiteeRedirectURL) params.Set("response_type", "code") - params.Set("scope", "user_info emails") + params.Set("scope", "user_info") if state != "" { params.Set("state", state) }