zyAndroid
V2EX  ›  微信

微信安全登录的文档在哪里啊?恕我无能没找到。。。

  •  
  •   zyAndroid · Jul 10, 2015 · 7339 views
    This topic created in 3969 days ago, the information mentioned may be changed or developed.
    类似下面这种的,多谢多谢~

    Supplement 1  ·  Jul 10, 2015
    已经解决:

    我刚开始参考的就是这个文档:http://mp.weixin.qq.com/wiki/17/c0f37d5704f0b64713d5d2c37b468d75.html

    scope 设置为 snsapi_base 和 snsapi_userinfo 都试过,但都提示 scope 参数错误或没有权限,最后换成 snsapi_login 就可以了。

    不过我不确定是不是我这个公众号没有 snsapi_userinfo 权限导致的。
    3 replies    2015-07-10 12:24:39 +08:00
    zyAndroid
        2
    zyAndroid  
    OP
       Jul 10, 2015
    @ven

    你好,我看的就是这个文档,scope 置为 snsapi_base 和 snsapi_userinfo 都试过了,但都不可以。最后 scope 改成 snsapi_login 就可以了。

    不过我不确定我这里的公众号是不是没有 snsapi_userinfo 权限导致的。

    anyway,感谢~
    abelyao
        3
    abelyao  
       Jul 10, 2015 via iPhone
    PC 端的网页,扫码登录的,是微信开放平台的功能
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5796 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 06:25 · PVG 14:25 · LAX 23:25 · JFK 02:25
    ♥ Do have faith in what you're doing.