微信社交登录 [英] WeChat Social Login
问题描述
我正在尝试将微信登录与当前系统集成.
I'm trying to integrate WeChat login with current system.
我拥有一个微信官方帐户,并且已经具有 AppID 和 AppSecret .
服务器设置也已启用.
I own a WeChat offical account and already have AppID and AppSecret.
Server Settings enabled as well.
当我试图用我的appid和我自己的服务器重定向URL作为参数打QRcode扫描URL时(如下示例)
When I was tring to hit the QRcode scan url with my appid and my own server redirect url as parameter(example as below)
https://open.weixin.qq.com/connect/qrconnect?appid=wxbdc5610cc59c1631&redirect_uri=https%3A%2F%2Fpassport.yhd.com%2Fwechat%2Fcallback.do&response_type=code&scope=snsapi_login&state=3d6be0a4035d839573b04816624a415e#wechat_redirect
浏览器向我抛出此错误页面
The browser threw me this error page
我期望的是这样的
问题:
1.是否因为我没有通过微信验证而无法获得用户基本信息?
2.如何获得微信验证?
Question:
1. Is it because of I didn't go through the wechat verification thus unable to obtain the user basic information?
2. How to get the wechat verification?
推荐答案
-
是因为我没有通过微信验证,所以无法获得用户基本信息吗?
Is it because of I didn't go through the wechat verification thus unable to obtain the user basic information?
是.要集成微信登录,必须验证您的微信官方帐户服务帐户(不支持订阅帐户,已验证).有关更多信息,请参考官方文件.
Yes. To integrate wechat login, your wechat official account must be verified service account (subscribe account is not supported, even it is verified). Please refer to official document for more information.
如何获得微信验证?
要验证微信官方帐户,您可以按照客户支持中的步骤操作文档.
To get the wechat official account verified, you can follow the steps in the customer support document.
这篇关于微信社交登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!