Skip to content

Instantly share code, notes, and snippets.

@EnigmaCurry
Created April 26, 2015 17:10
Show Gist options
  • Save EnigmaCurry/272ebc4fc99afd5241ec to your computer and use it in GitHub Desktop.
Save EnigmaCurry/272ebc4fc99afd5241ec to your computer and use it in GitHub Desktop.
cstar_perf client_secrets.json

cstar_perf uses Google APIs for authentication purposes. If you are installing cstar_perf for yourself you will need to generate your own API token for use with your installed version.

Image

Enter whatever Project Name you want (maybe use cstar-perf.) Use the suggested Project ID (doesn't matter, just has to be unique.)

It will take a minute for the project to be created, once it has:

  • Click on APIs and Auth.
  • Click on Credentials.
  • Click on Create new Client ID

Image

  • Choose Web application
  • Click Configure consent screen

Image

  • Enter whatever product name you wish. This is the only required field.
  • Click save.

It will take you to the client ID creation screen:

Image

  • Choose Web application
  • Enter the Authorized Javascript origin, which is the URLs for your application
  • Enter the redirect URI, which is the URLs for your application plus /oauth2callback
  • You may also wish to add localhost for your own development purposes.
  • Click create Client ID

The client ID will be created. Check to ensure the details are correct:

Image

  • Click Download JSON

Now save this file to ~/.cstar_perf/client_secrets.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment