Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top