OAuth2 Strategy requires a clientID option

Problem statement

Login attempts stopped working with the error: OAuth2Strategy requires a clientID option.

Cause

This error is caused due to using the google dev keys

Solution

These errors are related to Auth0 developer keys which should just be used for testing purposes only, so there are a few caveats you need to be aware of when using them. These may cause your application to behave differently, or some functionality to not work at all, depending on whether you use your own Client ID and Client Secret, or whether you use the Auth0 developer keys.

We would recommend you set up your own keys (Client ID and Client Secret) since this action will ensure your login attempts do not get this error. You can read more about this here:

https://marketplace.auth0.com/integrations/google-social-connection