# Problem with Google auth due to bundle install

**URL:** <https://meta.discourse.org/t/problem-with-google-auth-due-to-bundle-install/340475>\
**Category:** Development\
**Tags:** unsupported-install\
**Created:** [December 4, 2024, 8:56pm UTC](https://meta.discourse.org/t/problem-with-google-auth-due-to-bundle-install/340475 "2024-12-04T20:56:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [December 4, 2024, 8:56pm UTC](https://meta.discourse.org/t/problem-with-google-auth-due-to-bundle-install/340475/1 "2024-12-04T20:56:13Z")

</div>

I think this is a bug, but I don’t understand how I could be the first one to complain and Google auths work on Meta. . .

I have several sites that use Google auth set in ENV variables in the YML file. They’ve worked for years. One stopped working today, but two others still worked. I ran upgrades on those sites and now they all return this message:

```
Sorry, there was an error authorizing your account. Please try again.

```

When the first one stopped working, I thought it might be an issue on the Google side, but the correct URLs are still there.

I don’t know what a `google-protobuf` could be-- could this be related? [Build(deps): Bump google-protobuf from 4.28.3 to 4.29.0 (#29969) · discourse/discourse@996f993 · GitHub](https://github.com/discourse/discourse/commit/996f993651f0d3cc6b77adc205021e1bac38bea8) (EDIT: No. It cannot: “Protobuf.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic”)

EDIT: Well, the logs say “(google\_oauth2) Authentication failure! authenticity\_error: OmniAuth::AuthenticityError, Forbidden” so that sounds like Google doesn’t like my credentials.

These are the same credentials that the other sites are using and that these sites were using before the last upgrade. I see that the expected values are in `/var/www/discourse/config/discourse.conf` and in `SiteSettings` in Rails.

---

_[View the full topic](https://meta.discourse.org/t/problem-with-google-auth-due-to-bundle-install/340475)._
