缩小请求权限范围

This commit is contained in:
click33
2023-08-24 12:58:45 +08:00
parent 60cdb12c69
commit 759dfc79cc
2 changed files with 2 additions and 3 deletions

View File

@@ -148,8 +148,7 @@ function goAuth() {
const authUrl = "https://gitee.com/oauth/authorize" +
"?client_id=" + client_id +
"&redirect_uri=" + redirect_uri +
"&response_type=code" +
"&scope=projects";
"&response_type=code";
location.href = authUrl;
}