1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-13 04:01:40 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

QQ授权登录代码错误修正,完善application.sample.properties

This commit is contained in:
2022-04-04 23:40:42 +08:00
parent 3986458622
commit 3d2d0c42fb
3 changed files with 12 additions and 2 deletions

View File

@@ -13,7 +13,7 @@
<h3>绑定第三方账号</h3>
<%- include("../../component/third-party-login-button.html"); %>
<div id="withdraw-container" style="display: none;">
<h3>取消第三方账号绑定(暂未实现)</h3>
<h3>取消第三方账号绑定</h3>
<div id="withdraw-buttons"></div>
</div>
</div>

View File

@@ -136,7 +136,7 @@ public class ThirdPartyController extends BaseController {
.redirectUri(thirdPartyConfig.getGithubRedirecturi())
.build());
case "qq":
return new AuthGiteeRequest(AuthConfig.builder()
return new AuthQqRequest(AuthConfig.builder()
.clientId(thirdPartyConfig.getQqClientid())
.clientSecret(thirdPartyConfig.getQqClientsecret())
.redirectUri(thirdPartyConfig.getQqRedirecturi())

View File

@@ -33,6 +33,16 @@ thirdparty.gitee.clientid=
thirdparty.gitee.clientsecret=
thirdparty.gitee.redirecturi=
# OSCHINA
thirdparty.oschina.clientid=
thirdparty.oschina.clientsecret=
thirdparty.oschina.redirecturi=
# 飞书
thirdparty.feishu.clientid=
thirdparty.feishu.clientsecret=
thirdparty.feishu.redirecturi=
# GitHub
thirdparty.github.clientid=
thirdparty.github.clientsecret=