谷歌 第三方登录

公司是境外网站需要用到谷歌授权第三方登录,但是在请求token的时候报错,Failed to connect to accounts.google.com port 443: Timed out 应该是谷歌开发者中配置的问题。https://accounts.google.com/o/oauth2/token 复制到浏览器根本打不开

Failed to connect to accounts.google.com port 443: Timed out 

明显是网络问题啊 至少不是代码问题


换个网络 或者换个时间段试试

Timed out

先访问这个看不能

https://accounts.google.com/o/oauth2/auth


这个可以,是可以获取code的了,现在获取不了token

你好


应该不是

etc/hosts 加ip和域名
之后网络重启
ip要加对