mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-13 04:01:40 +08:00
QQ授权登录代码错误修正,完善application.sample.properties
This commit is contained in:
@@ -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>
|
||||
|
@@ -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())
|
||||
|
@@ -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=
|
||||
|
Reference in New Issue
Block a user