1
0
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:
Mariano Cano
2020-09-30 13:02:30 -07:00
parent b0e6a6625f
commit 3ef79b95e0
5 changed files with 60 additions and 58 deletions

View File

@@ -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
'''`,