Options (1)
-s, --silentbooleanRun in silent mode without browser
Example:
oauth2c {{issuer_url}} --client-id {{client_id}} {{[-s|--silent]}} --no-browserExamples (8)
Fetch an access token using client credentials
oauth2c issuer_url --client-id client_id --client-secret client_secretFetch a token using authorization code flow
Fetch a token using authorization code with PKCE
oauth2c issuer_url --client-id client_id --pkceFetch a token using password credentials
oauth2c issuer_url --client-id client_id --username username --password passwordRefresh an existing access token
oauth2c issuer_url --client-id client_id --refresh-token refresh_tokenFetch a token with specific scopes
oauth2c issuer_url --client-id client_id --scopes scope1,scope2Use device authorization flow
oauth2c issuer_url --client-id client_id --grant-type device_codeRun in silent mode without browser
oauth2c issuer_url --client-id client_id [-s|--silent] --no-browsermade by @shridhargupta | data from tldr-pages