Help to configure Oauth2 API Google My Business

Hi there,

I succed to configure and call API Google My Business with Postman, but I don’t know how to configure with Bubble.

I tried this configuration, but get an error

image

You haven’t entered the appID or secret. Does it fail when you enter those?

Enable “Requesting an access token uses Basic Auth” Option
Enable “Add access_type=offline (Google APIs)” Option
Pass the “Redirect URL” to the Google Developer console - " MY Business API" and enable the option here.

Scope URL- https://www.googleapis.com/auth/business.manage - you can verify from here (Basic setup  |  Google Business Profile APIs  |  Google Developers)

User Profile Endpoint- https://mybusiness.googleapis.com/v4/accounts

I hope you get the AppID and App Secret using the Google Developer Console.

Here is the complete postman collection (Postman)

Hi,

I got App ID and App Secret from Google Developer Console, and filled them in the API Connector :

The “Redirect URL” has been passed to the Google Developer console :
image

I get an error when testing :

image

Don’t understand why because the redirect URI filled in the Google Console Developer is the same

Regards

@bob.thebuilder can you share the error in English?

@ankur1

The App ID and App Secret were wrong, when I add the redirect uri is was not in the correct Google developer account

All is find now

Thanks a lot !

2 Likes

Hi @bob.thebuilder - blast from the past but could you please take a look at my post here and see if anything jumps out at you? Clutching at straws here, have pulled out all my hair!