Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
venwyhk authored Dec 12, 2018
1 parent 92988b0 commit 026e964
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ protected static class WechatConfigurerAdapter extends SocialAutoConfigurerAdapt

@Override
protected ConnectionFactory<WechatMp> createConnectionFactory() {
return new WechatMpConnectionFactory(this.properties.getAppId(), this.properties.getAppSecret());
WechatMpConnectionFactory factory = new WechatMpConnectionFactory(this.properties.getAppId(),
this.properties.getAppSecret());
factory.setScope(this.properties.getScope());
return factory;
}

}
Expand Down

0 comments on commit 026e964

Please sign in to comment.