Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/manage/manage/oauth.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ viam organization auth-service oauth-app create --client-authentication=required
--client-name="OAuth Test App" --enabled-grants="password, authorization_code" \
--logout-uri="https://logoipsum.com/logout" --origin-uris="https://logoipsum.com,http://localhost:3000" \
--pkce=not_required --redirect-uris="https://logoipsum.com/oauth-redirect,http://localhost:3000/oauth-redirect" \
--url-validation=allow_wildcards --org-id=<org-id>
--url-validation=allow_wildcards --invite-redirect-uri="https://logoipsum.com" --org-id=<org-id>
Successfully created OAuth app OAuth Test App with client ID <client-id> and client secret <secret-token>
```

Expand All @@ -78,6 +78,7 @@ Successfully created OAuth app OAuth Test App with client ID <client-id> and cli
| `--pkce` | Proof Key for Code Exchange (PKCE) for the OAuth application. Options: `unspecified`, `required`, `not_required`, `not_required_when_using_client_authentication`. Default: `unspecified`. | **Required** |
| `--redirect-uris` | Comma-separated redirect URIs for the OAuth application. | **Required** |
| `--url-validation` | URL validation for the OAuth application. Options: `unspecified`, `exact_match`, `allow_wildcards`. Default: `unspecified`. | **Required** |
| `--invite-redirect-uri` | The redirect link to send a user when they accept an org invite. | Optional |
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following other docs' formatting where Optional is not bold


{{% /expand%}}

Expand All @@ -98,6 +99,7 @@ Client Authentication: required
PKCE (Proof Key for Code Exchange): not_required
URL Validation Policy: allow_wildcards
Logout URL: https://logoipsum.com/logout
Invite Redirect URL: https://logoipsum.com
Redirect URLs: https://logoipsum.com/oauth-redirect, http://localhost:3000/oauth-redirect
Origin URLs: https://logoipsum.com, http://localhost:3000
Enabled Grants: authorization_code, password
Expand Down
Loading