request help: 如何实现静默登录?
cxh1231 opened this issue · 1 comments
cxh1231 commented
如何通过JustAuth,实现微信端的静默登录?
即通过微信公众平台,只获取到用户的OpenID即可,不弹窗索取用户的详细信息
zhangyd-c commented
authRequest = new AuthWeChatMpRequest(AuthConfig.builder()
.clientId("")
.clientSecret("")
.redirectUri("")
.scopes(Arrays.asList(
AuthWechatMpScope.SNSAPI_BASE.getScope()
))
.build());
如上,指定 scope 为 snsapi_base 即可