2014-01-28 69 views
0

在过去的两年中,我没有与谷歌使用omniauth-openid gem登录用户的问题。突然登录已经停止工作,我得到一个模糊的错误:谷歌omniauth-openid登录不起作用

WARNING: making https request to https://www.google.com/accounts/o8/id without verifying server certificate; no CA path was specified. 
Generated checkid_setup request to https://www.google.com/accounts/o8/ud using stateless mode. 
(google) Callback phase initiated. 
(google) Authentication failure! invalid_credentials encountered. 

任何想法,这里发生了什么?我到处搜索没有答案。

+0

这可能是谷歌改变了它的API和omniauth宝石不是最新的。 – jason328

+0

我可以在哪里找到Google是否更新了他们的API? – ramz15

+0

我可能会尝试google open-id google groups。 – jason328

回答

0

我在使用旧的omniauth-openid gem,并通过更新到omniauth-google-oauth2 gem来解决此问题。