每当我在重定向uris中使用自定义端口时,谷歌会将我重定向到错误页面,说“Google帐户的OpenID 2.0已经消失”,请尝试点击下面的链接重新创建此问题

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login&state=kkk&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcheckauth&response_type=code&client_id=247142348909-2s8tudf2n69iedmt4tvt2bun5bu2ro5t.apps.googleusercontent.com&access_type=offline&approval_prompt=force

但是当我从回调网址中删除端口时,谷歌可以重定向到指定的重定向uri .

https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login&state=kkk&redirect_uri=http%3A%2F%2Flocalhost%2Fcheckauth&response_type=code&client_id=247142348909-2s8tudf2n69iedmt4tvt2bun5bu2ro5t.apps.googleusercontent.com&access_type=offline&approval_prompt=force

两个网址完全相同,只是第二个网址在redirect_uri参数中没有“:3000” . 我在这里想念一下吗?


在5月5日,两个链接都可以成功重定向到指定的URL, problem solved