CmdID

CmdID / Commands

oauth2c

Interact with OAuth 2.0 authorization servers. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Fetch an access token using client credentials

oauth2c issuer_url --client-id client_id --client-secret client_secretIdentify

Fetch a token using authorization code flow

oauth2c issuer_url --client-id client_id --response-types codeIdentify

Fetch a token using authorization code with PKCE

oauth2c issuer_url --client-id client_id --pkceIdentify

Fetch a token using password credentials

oauth2c issuer_url --client-id client_id --username username --password passwordIdentify

Refresh an existing access token

oauth2c issuer_url --client-id client_id --refresh-token refresh_tokenIdentify

Fetch a token with specific scopes

oauth2c issuer_url --client-id client_id --scopes scope1,scope2Identify

Use device authorization flow

oauth2c issuer_url --client-id client_id --grant-type device_codeIdentify

Run in silent mode without browser

oauth2c issuer_url --client-id client_id --silent --no-browserIdentify