# OAuth2Strategy requires a clientID option

**URL:** <https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523>\
**Category:** Get Help\
**Tags:** google-social-connection, connections\
**Created:** [September 6, 2023, 10:29am UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523 "2023-09-06T10:29:06Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dev58](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev58/32/50607_2.png) [@dev58](https://community.auth0.com/u/dev58)\
**Post date:** [September 6, 2023, 10:29am UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/1 "2023-09-06T10:29:06Z")

</div>

Hi,

Since this morning, we’ve been receiving an error message from Auth0, specifically “OAuth2Strategy requires a clientID option,” following a Google SSO login procedure.

Surprisingly, we haven’t made any changes to either our Auth0 configuration or our application.

Is there any recent change that might have triggered this issue?

Thanks for your help.

Here is our redirection URL:

```auto
https://my-domaine.eu.auth0.com/authorize?client_id=xxxxxxxxxxx&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fapi%2FapiGateway%2FauthCallback&scope=openid+profile+email&response_type=id_token&response_mode=form_post&nonce=5c6b9747-4f80-49d5-95bf-2e5bda13744d&state=5896bed8-205e-499e-a8c6-3a38050e92b7

```

---

<div class="post-metadata">

**Author:** ![evilmint45](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@evilmint45](https://community.auth0.com/u/evilmint45)\
**Post date:** [September 6, 2023, 11:18am UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/2 "2023-09-06T11:18:41Z")

</div>

Same here - also getting this error.

Sample callback to the origin:

```auto
origin?error=server_error&error_description=OAuth2Strategy%20requires%20a%20clientID%20option&state=...%3D%3D

```

also worth noting that the same issue happens when trying the Login box from the Auth0 dashboard. The response is

```auto
{
  "error": "server_error",
  "error_description": "OAuth2Strategy requires a clientID option"
}

```

and the connection tester responds with

```auto
{
  "error": "server_error",
  "error_description": "Object argument required."
}

```

for all connections.

---

<div class="post-metadata">

**Author:** ![evilmint45](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@evilmint45](https://community.auth0.com/u/evilmint45)\
**Post date:** [September 6, 2023, 7:00pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/3 "2023-09-06T19:00:13Z")

</div>

Hi, any news on this issue? It just stopped working and seems to be a problem on Auth0’s side

---

<div class="post-metadata">

**Author:** ![MrJeyhun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrjeyhun/32/50606_2.png) [@MrJeyhun](https://community.auth0.com/u/MrJeyhun)\
**Post date:** [September 6, 2023, 7:39pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/4 "2023-09-06T19:39:57Z")

</div>

Hi, I have same problem right now, maybe it’s auth0 internal problem? Any idea?

---

<div class="post-metadata">

**Author:** ![riley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/riley/32/50608_2.png) [@riley](https://community.auth0.com/u/riley)\
**Post date:** [September 6, 2023, 8:30pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/6 "2023-09-06T20:30:15Z")

</div>

issue can be solved by [Setting up OAuth 2.0](https://support.google.com/googleapi/answer/6158849) in google cloud and then configuring the client id and secret in auth0. seems to be an issue with using google login with auth0 dev keys

---

<div class="post-metadata">

**Author:** ![tyler4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tyler4/32/14610_2.png) [@tyler4](https://community.auth0.com/u/tyler4)\
**Post date:** [September 6, 2023, 8:43pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/8 "2023-09-06T20:43:19Z")

</div>

I am having the same issue in Auth0 tenants hosted in EU region as well. It is a dev connection making use of the Auth0 keys so we don’t have plans to setup OAuth 2.0.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 6, 2023, 8:48pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/10 "2023-09-06T20:48:10Z")

</div>

Hi all! This is a known issue with Auth0 developer keys that is currently being investigated - @riley is correct in that the workaround here is to provide your own keys.

Auth0 developer keys should be used for testing purposes only as there are some inherent [limitations](https://auth0.com/docs/authenticate/identity-providers/social-identity-providers/devkeys#limitations-of-developer-keys).

---

<div class="post-metadata">

**Author:** ![MrJeyhun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrjeyhun/32/50606_2.png) [@MrJeyhun](https://community.auth0.com/u/MrJeyhun)\
**Post date:** [September 6, 2023, 8:48pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/11 "2023-09-06T20:48:48Z")

</div>

so what should we do for fixing it exactly?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 6, 2023, 8:49pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/12 "2023-09-06T20:49:50Z")

</div>

@MrJeyhun 👇

> [@riley](#):
>
> issue can be solved by [Setting up OAuth 2.0](https://support.google.com/googleapi/answer/6158849) in google cloud and then configuring the client id and secret in auth0. seems to be an issue with using google login with auth0 dev keys

---

<div class="post-metadata">

**Author:** ![MrJeyhun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mrjeyhun/32/50606_2.png) [@MrJeyhun](https://community.auth0.com/u/MrJeyhun)\
**Post date:** [September 6, 2023, 8:52pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/13 "2023-09-06T20:52:03Z")

</div>

> [@riley](#):
>
> configuring the client id and secret in auth0

I didn’t understand exactly this part: “configuring the client id and secret in auth0” , where should we configure it in auth0?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [September 6, 2023, 9:03pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/14 "2023-09-06T21:03:26Z")

</div>

Gotcha, thanks for clarifying!

You’ll need to set the client id and secret in your Auth0 dashboard Google connection settings:

 ![Screenshot 2023-09-06 at 2.01.12 PM](https://global.discourse-cdn.com/auth0/original/3X/f/0/f07eef17277addf1000f07ebea7541c35b86bdb7.png)

There are instructions for getting credentials under installation [here](https://marketplace.auth0.com/integrations/google-social-connection).

---

<div class="post-metadata">

**Author:** ![tyler4](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tyler4/32/14610_2.png) [@tyler4](https://community.auth0.com/u/tyler4)\
**Post date:** [September 6, 2023, 9:30pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/15 "2023-09-06T21:30:43Z")

</div>

Will we be able to track this via [status.auth0.com](http://status.auth0.com) or can you give an ETA?

---

<div class="post-metadata">

**Author:** ![dev58](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dev58/32/50607_2.png) [@dev58](https://community.auth0.com/u/dev58)\
**Post date:** [September 6, 2023, 9:35pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/16 "2023-09-06T21:35:42Z")

</div>

Thank you, @riley and @ty.frith, for your explanations.

I’ll try to set up everything under google, and re test

---

<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:** [September 20, 2023, 9:36pm UTC](https://community.auth0.com/t/oauth2strategy-requires-a-clientid-option/115523/17 "2023-09-20T21:36:37Z")

</div>

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