Services Plugins FAQs

Problem in configuration for Google calendar + Offline Plugin

Hi,
I have trouble in configuration for Google calendar + Offline Plugin.

I follow instructions for Google cloud/ Google Auth Platform, but I don’t understand the OAuth 2.0 Playground configuration.

I think that the problem comes from the part of the configuration.
Thank you in advance for your help and propt reply.
Best Regards

Hey @franck1 ,
Thank you for contacting us.

To configure Google Calendar with an offline plugin using OAuth 2.0:

  1. Create a Google Cloud project and enable the Google Calendar API.
  2. Set up OAuth 2.0 credentials (Client ID and Secret) under APIs & Services > Credentials.
  3. Configure OAuth consent screen with necessary details.
  4. Go to the OAuth 2.0 Playground (link), and in the settings, enter your Client ID and Client Secret.
  5. Select Google Calendar API scopes (e.g., https://www.googleapis.com/auth/calendar for full access).
  6. Authorize and get an authorization code, then exchange it for access and refresh tokens.
  7. Use the access token for API requests and the refresh token for offline access.

:exclamation: Make sure the redirect URI matches between the Playground and your Cloud project. :exclamation:

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi Anton,
My app must push new event to google calendar for each user. How can I do?
Waiting your reply.
Best Regards.
Franck

Hey @franck1 ,
Thank you for your reply.

Let me check your question with the development team and get back to you with an answer as soon as I hear back from them.

Thank you for your understanding, and have a nice day!

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hey @franck1 ,
Thank you for your patience.

The plugin has the “Create a Calendar Event with Attendees (advanced)” action.
When using this action, you need to set the sendUpdates field to “all” – it will notify all attendees about the event creation.

In the attendees_json field, you can specify all desired attendees. (Docs)

:point_up: On the demo page, there is an example of using the “Create a Calendar Event with Attendee” action.

Best regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3

Hi Anton,
Thank you for your reply.
I need to understand how works the plugin with google and Bubble.
Google side
When I create Google Cloud Project, I have 1 client Id and 1 Secret, When I go to Playground, I enter the clientID and and Client secret, I select the scope, I have the authorization code and exchange it for acess and refresh token. This part is OK for me.
Bubble side
When users want to connect their own calendar, which acces or refresh token my bubble app need, and how it works for several users?
Thank you in advance for your pormpt reply.
Best regards,
Franck

1 Like

Hi Anton,
No news about you.
I need your reply about the way to use access and refresh token when several users want to connect my bubble app to their own Google calendar.
Waiting urgently your reply.
Best Regards,
Franck

Hey @franck1 ,
Thank you for your patience.

The access token has limited lifetime! So, the refresh token is used to obtain the new valid access token!

Basically, the Bubble supports only one authentication session! If Sign in with social network action is used, then it is equivalent to Bubble login! It is recommended because it is more secure!

If the Get Refresh and Access Token action is used for obtaining the tokens, then the tokens should be stored secure in the app to use the access token to perform the all requests!

Best Regards,
Anton

Browse all Zeroqode Plugins for Bubble
Banner_Last3