231
Views
1
Comments
[Google Core] How to use GetAccessToken
Question
google-core
Mobile icon
Forge asset by Experts

Hey guys!

Thank you so much for creating this plugin. I've managed to get Google login working with the Google Login Plugin. I'm trying to access google calendar api for https://developers.google.com/calendar/v3/reference/events/list


I've been trying to use the GetAccessToken method but i'm not sure what to put for the ClientSecret Input because the ClientID i generated for Android doesn't have a client secret. This is the first client ID


I also have a web clientID which has a client secret but it returns an error of

I've tried looking at the Employee App Template for examples on Google API calls but I cannot find any.

Would be great if anyone who has used a Google API could provide a sample beyond just google login

Thanks so much.

Best,

Barnett

UserImage.jpg
Khadija Mulder

Barnett Lee wrote:

Hey guys!

Thank you so much for creating this plugin. I've managed to get Google login working with the Google Login Plugin. I'm trying to access google calendar api for https://developers.google.com/calendar/v3/reference/events/list


I've been trying to use the GetAccessToken method but i'm not sure what to put for the ClientSecret Input because the ClientID i generated for Android doesn't have a client secret. This is the first client ID


I also have a web clientID which has a client secret but it returns an error of

I've tried looking at the Employee App Template for examples on Google API calls but I cannot find any.

Would be great if anyone who has used a Google API could provide a sample beyond just google login

Thanks so much.

Best,

Barnett

Hi Barnett,


In this excercise there is a step by step description on how to get the secret code, maybe this helps you as well? 


https://www.outsystems.com/learn/lesson/1839/integrating-with-oauth-exercise/ 


Best wishes,


Khadija


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.