feat: 新增 Gitee OAuth 服务,用于处理 Gitee 授权登录流程。

This commit is contained in:
2026-01-29 19:21:13 +08:00
parent 38469739de
commit f1fa7b6c54

View File

@@ -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)
}