Forum Academy Marketplace Showcase Pricing Features

Help needed diagnosing google oauth2 error message

I’m using the API Connector to connect to Drive or Classrooms API.

I get through the normal oauth screens, get past the non-verified notice and when I return to my app, I get the following error:

Workflow error - API Connector error: the Oauth2 API Sheets is not configured properly - Received error from api

Here is my setup

My workflow is just the 'Sign up with Social… ’ option.

My login with Google option works just fine, as I use the Google plugin. When I swap the ‘Google’ option with my new Sheets API, I get the same error. Any thoughts? It’d be reeeeally nice to know what the defaults are for the Google plugin to see it’s a match on some of the settings.

Do I need more to it than that for it to be successful?
How do I get the details of the actual error?
Anyone know the auth/token/account settings for the Google plugin by Bubble?

Try adding these scopes:
https://www.googleapis.com/auth/userinfo.profile
https://www.googleapis.com/auth/userinfo.email

and using this as the ‘User profile endpoint’:
https://www.googleapis.com/oauth2/v1/userinfo?alt=json

4 Likes

This works like a charm! Thank you!

SO GRATEFUL you posted this - I couldn’t for the life of me discern what scopes needed to be added or where to start to look. Thank you.