# When I set up google-oauth2 social connection I get an error when I test it. How can I troubleshoot this?

**URL:** <https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848>\
**Category:** Get Help\
**Tags:** google-signup\
**Created:** [September 19, 2022, 12:09am UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848 "2022-09-19T00:09:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jonathan4/32/33352_2.png) [@jonathan4](https://community.auth0.com/u/jonathan4)\
**Post date:** [September 19, 2022, 12:09am UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848/1 "2022-09-19T00:09:21Z")

</div>

when I set up google-oauth2 social connection I get an error when I test it. How can I troubleshoot this?

{  
“error”: “invalid\_request”,  
“error\_description”: “the connection is not enabled”  
}

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 19, 2022, 5:09pm UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848/3 "2022-09-19T17:09:53Z")

</div>

Hi @jonathan4 ,

I checked the tenant associated with your email and noticed that no application is enabled for the Google-oauth2 connection. Could you please enable at least one application and try again? Thanks!

 ![image](https://global.discourse-cdn.com/auth0/original/3X/6/c/6c5349e0b02e7bbe67681f61353eb9f63bec724c.jpeg)

---

<div class="post-metadata">

**Author:** ![jonathan4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jonathan4/32/33352_2.png) [@jonathan4](https://community.auth0.com/u/jonathan4)\
**Post date:** [September 20, 2022, 1:06pm UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848/4 "2022-09-20T13:06:19Z")

</div>

Thank you. When I do that it says “unauthorized”. And if I try It in the app it just returns back to the login screen. I can’t figure out what is configured incorrectly.

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [September 20, 2022, 3:58pm UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848/5 "2022-09-20T15:58:44Z")

</div>

Hi @jonathan4 ,

I replied to you via DM with the finding in the tenant log. Please let me know how it goes with your testing. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [October 4, 2022, 3:59pm UTC](https://community.auth0.com/t/when-i-set-up-google-oauth2-social-connection-i-get-an-error-when-i-test-it-how-can-i-troubleshoot-this/90848/6 "2022-10-04T15:59:40Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
