# Google OAuth

**URL:** https://meta.discourse.org/t/google-oauth/363547
**Category:** SSO
**Tags:** oauth2
**Created:** [April 26, 2025, 9:15am UTC](https://meta.discourse.org/t/google-oauth/363547 "2025-04-26T09:15:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Chris\_C2000](https://avatars.discourse-cdn.com/v4/letter/c/5fc32e/32.png) [@Chris\_C2000](https://meta.discourse.org/u/Chris_C2000)
#### Post date: [April 26, 2025, 9:15am UTC](https://meta.discourse.org/t/google-oauth/363547/1 "2025-04-26T09:15:31Z")

</div>

I’ve setup the Google Auth as per the guide but whenever I click onthe google button at login or sign up it comes up with :  
Sorry, there was an error authorizing your account. Please try again.

In the verbose logs on the website it shows:  
(google\_oauth2) Authentication failure! invalid\_credentials: OmniAuth::Strategies::OAuth2::CallbackError, immediate\_failed

Any idea what I have done wrong?
