readme

  • Give it a try, hope it could help.

Steps

  1. First of all, follow the doc to get the client_id, client_secret & authorization redirect uris
    1. GCP -> API & Services -> Credentials
    2. Create Credentials
  2. Filling the postman env
    • env
  3. Add a new postman api, following the image, and then to get the Access Token
    • OAuth2
  4. Finally, you could check the Authorization in the API's header, and then you could use the Access Token to exec your API.
    • header

How to verify the Access Token?

But it only work for Server-Side access, how to work on CICD?

  • Check the For Service Accounts from google doc.
  • It could help you to get the Access Token without authentication by the client browser.