1.0.4 • Published 4 years ago

iblis-cli-token-google-oauth-web-server v1.0.4

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
4 years ago

iblis-cli-token-google-oauth-web-server

Cli to create access token for google sheets and google drive

Version Downloads/week License

When you want to play with Google Drive or Google Sheets API with a simple bash script or in your CI/CD pipeline, you will need to have a clientId, a clientSecret and offline access_token and refresh_token linked to your google account.

To do that you can follow this process:

https://developers.google.com/identity/protocols/oauth2/web-server

Authorization process

Or you can just use this cli to guide you and help you to follow this process step by step.

At the end, the cli will create a .env file with the Google ClientId / ClientSecret / AccessToken / RefreshToken


Usage

$ npx iblis-cli-token-google-oauth-web-server getGooToken

or

$ npm install -g iblis-cli-token-google-oauth-web-server
$ getGooToken