zhongxia245 / egg-cnode

cnode源码,阅读学习一下
MIT License
2 stars 0 forks source link

the redirect_uri must match the registerred callback url form this application #1

Open zhongxia245 opened 6 years ago

zhongxia245 commented 6 years ago

github授权登录的时候,报回调域名不匹配问题

zhongxia245 commented 6 years ago

参考文章:https://blog.csdn.net/xiaotao745324325/article/details/41939851

回调域名不能是二级域名,因此报错。

CALLBACK: http://example.com/path

GOOD: http://example.com/path
GOOD: http://example.com/path/subdir/other
BAD:  http://example.com/bar
BAD:  http://example.com/
BAD:  http://example.com:8080/path
BAD:  http://oauth.example.com:8080/path
BAD:  http://example.org
zhongxia245 commented 6 years ago

等另外一个服务器到期后,把域名改成 www.izhongxia.com ,即可