質問

For the past 2 years I had no issues with users logging in with Google using the omniauth-openid gem. All of a sudden logins have stopped working and I get a vague error:

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.

Any ideas whats going on here? I've searched everywhere with no answers.

役に立ちましたか?

解決

I was using the old omniauth-openid gem and fixed this issue by updating to the omniauth-google-oauth2 gem.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top