Skip to content

Commit

Permalink
🐛 Fixing a bug for wechat.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyd-c committed Aug 15, 2020
1 parent e39d1dd commit ce68936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ public String authorize(String state) {
.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();
}

Expand Down

0 comments on commit ce68936

Please sign in to comment.