Google plus 谷歌登录不再工作?
过去几周,每当在我的Play Framework网站()上使用Google signin时,我都会看到“错误请求错误400”。SecureSocial配置如下所示:Google plus 谷歌登录不再工作?,google-plus,google-oauth,google-authentication,securesocial,Google Plus,Google Oauth,Google Authentication,Securesocial,过去几周,每当在我的Play Framework网站()上使用Google signin时,我都会看到“错误请求错误400”。SecureSocial配置如下所示: google { authorizationUrl="https://accounts.google.com/o/oauth2/auth" accessTokenUrl="https://accounts.google.com/o/oauth2/token" clientId="[redacted]"
google {
authorizationUrl="https://accounts.google.com/o/oauth2/auth"
accessTokenUrl="https://accounts.google.com/o/oauth2/token"
clientId="[redacted]"
clientSecret=[redacted]
scope="https://www.googleapis.com/auth/plus.login profile email"
}
在securesocial日志中,在我在浏览器中看到错误消息之前显示以下内容
redirecting to: [https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fplus.login+email&client_id=[redeacted]&redirect_uri=http%3A%2F%2Ftest.cointouch.com%2Fauthenticate%2Fgoogle&response_type=code&state=[redacted]]
我的重定向URL在Google API控制台中配置正确
我读到谷歌已经弃用了一些以前的signin API:
是否有一种快速修复方法可以应用于我的SecureSocial设置?尝试了许多补救方法,在Jorge的帮助下,我发现这与Cookie有关。删除cookies修复了它 我相信你是通过清理你的饼干来解决这个问题的,对吗?@jorge是的,谢谢你提醒我。我补充了一个答案