收藏
回答

!公众号开发response_type 参数错误,公众号已经认证,域名也已经认证。突然发生的?

回答关注问题邀请回答
收藏

1 个回答

  • Hlxuan.
    Hlxuan.
    04-04

    你这个授权链接格式不对呀:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html

    下面这两个链接是我拼接好的,测试都可以正常访问:

    【scope为snsapi_base】
    https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx458ef92c22392758&redirect_uri=https%3A%2F%2Fxiaoyzd.cn%2F&response_type=code&scope=snsapi_base#wechat_redirect
    
    【scope为snsapi_userinfo】
    https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx458ef92c22392758&redirect_uri=https%3A%2F%2Fxiaoyzd.cn%2F&response_type=code&scope=snsapi_userinfo#wechat_redirect
    
    04-04
    有用
    回复
登录 后发表内容