Categorygithub.com/RiteshHarihar/token-generator
modulepackage
0.0.0-20240613090609-edfc38a6ec6f
Repository: https://github.com/riteshharihar/token-generator.git
Documentation: pkg.go.dev

# README

token generator

1. Create Credentials

  • Login into cloud console and create a project if don't have one.
  • Go to APIs & Services and enable the Gmail, Calendar, Google Docs and Drive APIs,
  • Go to OAuth consent screen and setup the concent screen.
  • Go to Credentials > Create Credentials > OAuth client ID and create credentials by selecting Web Application type. Make sure http://localhost:7000/callback-gl is at the top in the list of Authorized redirect URIs. Screenshot 2022-12-21 at 7 50 14 PM

2. Generate Tokens

  • Download the newly created credentials as JSON.
  • Clone the token generator repo and put the credential file at the root of the project. Rename the credential file to credentials.json.
  • Run the project and follow the steps. Tokens generated to a new file called token.json.

# Packages

No description provided by the author