Cloud
Google Cloud

Using Google Cloud API token with POSTMAN

For reasons if you are not using the Google API-Explorer and if you are using POSTMAN client to access Google Cloud API’s then you would face with an interesting question about how to generate a token so that i could authenticate to google cloud

Steps to Generate a Token

  1. Login to Google Cloud Console
  2. In API & Services -> Credentials create an OAuth 2.0 client ID
  3. Authorize the redirect URL
  4. Login to Postman client/browser app
  5. Use the below settings in postman

Token name : Google Token
Callback URL :
https://appnameorurlhere.com for eg something.googleapis.com/
Auth URL :
https://accounts.google.com/o/oauth2/auth
Access Token URL :
https://accounts.google.com/o/oauth2/token
Client ID : CLIENTIDHERE.googleusercontent.com
Client Secret : CLIENTSECRETHERE
Scope :
https://www.googleapis.com/auth/cloud-platform

Generate the OAuth ID and Authorize the redirect URL

Request a token and use the token for your queries i

 

Leave a comment