缩小请求权限范围

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

@@ -163,7 +163,7 @@
<!-- --> <!-- -->
<script src="./static/docsify-plugin.js"></script> <script src="./static/docsify-plugin.js"></script>
<script src="./static/is-star-plugin.js?v=3"></script> <script src="./static/is-star-plugin.js?v=4"></script>
<script> <script>
var saTokenTopVersion = '1.35.0.RC'; // Sa-Token最新版本 var saTokenTopVersion = '1.35.0.RC'; // Sa-Token最新版本
var name = '<img style="width: 60px; height: 60px; vertical-align: middle;" src="logo.png" alt="logo" /> '; var name = '<img style="width: 60px; height: 60px; vertical-align: middle;" src="logo.png" alt="logo" /> ';

View File

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