jentz / vigilant-dollop

Command-line OIDC client, get a token without all the fuss
MIT License
1 stars 0 forks source link

updates the help for the PKCE option #16

Closed jentz closed 3 months ago

jentz commented 3 months ago

Reworded the help message and change to lower case to be more similar to the rest of the help documentation

jentz commented 3 months ago

Help will look like:

go run ./cmd authorization_code --help
Usage of authorization_code:
  -authorization-url string
        set OIDC authorization url
  -callback-uri string
        set OIDC callback uri (default "http://localhost:9555/callback")
  -client-id string
        set client ID
  -client-secret string
        set client secret
  -discovery-url string
        set OIDC discovery url
  -pkce
        use proof-key for code exchange (PKCE)
  -scopes string
        set scopes as a space separated list (default "openid")
  -token-url string
        set OIDC token url