Google Business Performance API Setup

Hey! Trying to setup Google Business via the API Connector plugin. Bashing my head off a wall for about four hours. I think I have everything configured correctly, but get an error when google sends me back to my website. Can anyone help please?

Here are my settings in bubble:

I kick off the signin via this

It all goes ok, I can sign in (as a test user) via google, then google sends me back to my website where things fall over and I get this error:

"API Connector error: the Oauth2 API Google Business Profile is not configured properly - Received error from api The service Google Business Profile just returned an error (HTTP 401). Please consult their documentation to ensure your call is setup properly. Raw error:

{
“error”: “invalid_request”,
“error_description”: “Invalid Credentials”
}"

My credentials are fine (ID and Secret Key).

Any clues or pointers would be greatly appreciated!!

Thanks,
Steve.

Are you trying to connect your own account or you want each user to connect to their own account?
Also, there’s a lot of topic about connecting Bubble and Google with user-agent… actually, I see some errors in your settings (authentication goes in header, header key (that will appear instead of token name)
set json for user profile endpoint (https://www.googleapis.com/oauth2/v1/userinfo?alt=json)

(there’s a lot more topic about that)