提交 ce689362 编写于 作者: 智布道's avatar 智布道 👁

🐛 Fixing a bug for wechat.

上级 e39d1dd0
......@@ -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();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册