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

个人实名认证的“网站接入”,拿不到access_token #21

Open
ChenadSH opened this issue Jul 31, 2017 · 3 comments
Open

个人实名认证的“网站接入”,拿不到access_token #21

ChenadSH opened this issue Jul 31, 2017 · 3 comments

Comments

@ChenadSH
Copy link

code可以拿到,但是callback.php报错:
SaeTOAuthV2->getAccessToken('code', Array) 授权失败
网站应用里,授权回调和安全域名设置都是对的。
代码是把gihub上的源码config参数修改了,其他没动过
请问有人知道原因吗?

@xiaosier
Copy link
Owner

xiaosier commented Aug 2, 2017

调用后具体的返回值是什么?

@ChenadSH
Copy link
Author

ChenadSH commented Aug 2, 2017

谢谢,换了个服务器和域名,可以拿到access_token了,但是发微博显示"发送失败,错误:10017:text not find domain!"

@xiaosier
Copy link
Owner

xiaosier commented Aug 2, 2017

这个是你的安全域名没有设置导致的吧。

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

2 participants