Google API authentication example

by Automate Developer

Version 1 (June 18, 2019)

Download (4,656 downloads)

This is an highly advanced and quite extensive example of using the Dialog web block to create an authenitcation flow which aquires a token used for accessing Google APIs such as Google+, Calendar, Tasks and Sheet, etc. with the HTTP request block.

Full description of the Google authentication flow:
https://developers.google.com/identity/protocols/OAuth2InstalledApp

Google has deprecated browser authentication for installed apps, however it may still be possible by changing the User-Agent in the HTTP request block.

Prerequisites
• Visit https://console.developers.google.com
• Create a project
• Create "OAuth client ID" credentials (API manager)
• Choose application type "Other" (used for installed apps)
• The "Client ID" and "Client secret" are required to acquire a token
• Enable the APIs to access

How to use
• Start Authenticate
• Choose scope to grant access to
• Choose an Google account to pre-selected for authentication (web) flow, optional
• Paste the project "Client ID"
• Paste the project "Client secret"
• Start Call API
• Choose the API granted access to above

4.6 average rating from 47 reviews

5 stars
36
4 stars
6
3 stars
3
2 stars
0
1 star
1
Reports
1

Rate and review within the app in the Community section.