Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAuthorizeURLForWebsite 不能正常工作 #17

Closed
jejer opened this issue Mar 8, 2016 · 5 comments
Closed

getAuthorizeURLForWebsite 不能正常工作 #17

jejer opened this issue Mar 8, 2016 · 5 comments

Comments

@jejer
Copy link

jejer commented Mar 8, 2016

        //res.redirect(wx.getAuthorizeURL(full_url, 'jejer', 'snsapi_userinfo'));
        res.redirect(wx.getAuthorizeURLForWebsite(full_url, 'jejer', 'snsapi_userinfo')

同样的参数 getAuthorizeURL 正常, getAuthorizeURLForWebsite 返回 "Scope 参数错误或没有 Scope 权限"
生成的URL: https://open.weixin.qq.com/connect/qrconnect?appid=wxbca42d4004221261&redirect_uri=http%3A%2F%2Fujkk1e90d62d.jejer.koding.io%2Findex.html&response_type=code&scope=snsapi_login&state=#wechat_redirect

@czciou
Copy link

czciou commented May 18, 2016

+1

@czciou
Copy link

czciou commented May 18, 2016

解决了么? @jejer

@jejer
Copy link
Author

jejer commented May 19, 2016

@czciou 后来没再看

@JacksonTian
Copy link
Member

看下官方文档是否有改动?

@czciou
Copy link

czciou commented Jun 5, 2016

解决了。清楚微信分公众平台和开放平台就能解决这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants