An archive of community.esquilo.io as of Saturday January 26, 2019.

How to use HTTP to authenticate the OAuth2.0 of Google Calendar?

triste

Any thoughts to implement OAuth 2.0 authentication in .nut file?

patrick

OAuth2 is pretty involved. It requires you to register your client application and a secret with Google, then go through a handshake process to get a token to use for all requests after that. I've thought about doing it in Squirrel or add a lib, but haven't gotten around to it.

Here's Google's page describing the process:

https://developers.google.com/identity/protocols/OAuth2ForDevices

triste

I am currently carrying out a project based on Esquilo with calendar connection, any idea or suggestion to make calendar worked ?(no necessary must be Google Calendar)

triste

GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId

All I want is print out the json text in Esquilo from the link HTTP request above.

Website: https://developers.google.com/google-apps/calendar/v3/reference/events/get

patrick

At the bottom of the google page documenting this call it states you must supply Oauth credentials with it.