oauth2c
OAuth2 CLI client
TLDR
Get access token
$ oauth2c [client_id] [client_secret] --token-url [url]
Authorization code flow$ oauth2c --auth-url [url] --token-url [url] --redirect-uri [uri]
Client credentials flow$ oauth2c [client_id] [client_secret] --token-url [url] --grant-type client_credentials
With scopes$ oauth2c [client_id] [client_secret] --token-url [url] --scope "[scope1 scope2]"
SYNOPSIS
oauth2c [options]
DESCRIPTION
oauth2c is an OAuth2 CLI client. Obtains access tokens interactively.
The tool supports various OAuth2 flows. Useful for API testing.
PARAMETERS
--auth-url URL
Authorization endpoint.--token-url URL
Token endpoint.--redirect-uri URI
Redirect URI.--grant-type TYPE
OAuth2 grant type.--scope SCOPES
Requested scopes.--help
Display help information.
CAVEATS
Requires OAuth2 client credentials. Security-sensitive operations.
HISTORY
oauth2c was created to provide command-line OAuth2 authentication for developers.
