You've already forked step-ca-cli
mirror of
https://github.com/smallstep/cli.git
synced 2025-08-09 03:22:43 +03:00
Minor tweaks for online docs.
This commit is contained in:
@@ -65,8 +65,7 @@ func init() {
|
||||
cmd := cli.Command{
|
||||
Name: "oauth",
|
||||
Usage: "authorization and single sign-on using OAuth & OIDC",
|
||||
UsageText: `
|
||||
**step oauth** [**--provider**=<provider>] [**--client-id**=<client-id> **--client-secret**=<client-secret>]
|
||||
UsageText: `**step oauth** [**--provider**=<provider>] [**--client-id**=<client-id> **--client-secret**=<client-secret>]
|
||||
[**--scope**=<scope> ...] [**--bare** [**--oidc**]] [**--header** [**--oidc**]]
|
||||
|
||||
**step oauth** **--authorization-endpoint**=<authorization-endpoint> **--token-endpoint**=<token-endpoint>
|
||||
@@ -121,7 +120,7 @@ $ step oauth --oidc --bare
|
||||
'''
|
||||
|
||||
Use a custom OAuth2.0 server:
|
||||
''''
|
||||
'''
|
||||
$ step oauth --client-id my-client-id --client-secret my-client-secret \
|
||||
--provider https://example.org
|
||||
'''`,
|
||||
|
Reference in New Issue
Block a user