Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 650 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 650 Bytes

generate-oauth-token

A CLI tool to generate OAuth tokens for the chosen provider.

Installation

Download the tool using go get.

go get -u -v github.com/nkprince007/generate-oauth-token

Usage

$ generate-oauth-token -help
Usage of generate-oauth-token:
  -provider string
      the provider for which oauth token is to be generated (default "github")
$ generate-oauth-token -provider=github
...
# Enter the details and proceed to obtain the token

Supported providers include:

  • github
  • gitlab

Example configuration for OAuth2 client

GitHub OAuth Configuration