1
0
mirror of synced 2025-12-25 00:54:28 +08:00

🐛 Fixing a bug for wechat.

This commit is contained in:
yadong.zhang
2020-08-15 20:43:04 +08:00
parent e39d1dd0f8
commit ce689362ac

View File

@@ -124,8 +124,8 @@ public class AuthWeChatMpRequest extends AuthDefaultRequest {
.queryParam("appid", config.getClientId())
.queryParam("redirect_uri", GlobalAuthUtils.urlEncode(config.getRedirectUri()))
.queryParam("response_type", "code")
.queryParam("state", getRealState(state).concat("#wechat_redirect"))
.queryParam("scope", this.getScopes(",", false, AuthScopeUtils.getDefaultScopes(AuthWechatMpScope.values())))
.queryParam("state", getRealState(state).concat("#wechat_redirect"))
.build();
}