Power Automate - Part 1/3 - Google API OAuth 2.0 - Obtain Authorization Code
Описание
Part 1/3 Power Automate - Google API OAuth 2.0 video series explains how to access Google API using OAuth 2.0. The first part is how to get the authorization code.
Related Video Part 2 - How to obtain access and refresh tokens?
https://youtu.be/MZN74noAB2w
Related Video Part 3 - How to obtain bearer token using refresh token and access Google Drive API?
https://youtu.be/TLZ2WpDE7U0
Configuration setting up the project and getting the client id
https://console.cloud.google.com/apis/credentials/oauthclient
Copy the below URL in your browser to get the code. Replace client_id below.
https://accounts.google.com/o/oauth2/v2/auth?scope=https://www.googleapis.com/auth/drive.metadata.readonly&access_type=offline&include_granted_scopes=true&response_type=code&state=state_parameter_passthrough_value&redirect_uri=https://global.consent.azure-apim.net/redirect&client_id=xxxxxxxx
Authorised redirect URIs
https://global.consent.azure-apim.net/redirect
Documentation regarding Server-side Web Apps
https://developers.google.com/identity/protocols/oauth2/web-server
https://developers.google.com/identity/protocols/oauth2/web-serve #sample-oauth-2.0-server-response
Documentation regarding Google API Scope
https://developers.google.com/identity/protocols/oauth2/scopes#drive
Рекомендуемые видео



















