Skip to content

Commit 4a4d55f

Browse files
committed
update scope nit
1 parent f1c3a6e commit 4a4d55f

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

docs/cli/slas.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,10 @@ b2c slas client create --tenant-id abcd_123 \
157157
- Use `--default-scopes` for common shopper API access scopes
158158
- By default, the tenant is automatically created if it doesn't exist. Use `--no-create-tenant` to disable this behavior if you prefer to manage tenants separately
159159

160+
**Important:** Don't confuse `--scopes` with `--scope`:
161+
- `--scopes` (plural) - Scopes assigned to the SLAS client being created
162+
- `--scope` (singular) - Global flag for CLI OAuth authentication (not for client creation)
163+
160164
---
161165

162166
## b2c slas client get

plugins/b2c-cli/skills/b2c-slas/SKILL.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ b2c slas client create --tenant-id abcd_123 --channels RefArch --default-scopes
4545
b2c slas client create --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback --json
4646
```
4747

48+
**Important:** Don't confuse these flags:
49+
- `--scopes` (plural) - Scopes assigned to the SLAS client being created
50+
- `--scope` (singular) - Global flag for OAuth authentication (used to authenticate the CLI itself)
51+
52+
Use `--scopes` or `--default-scopes` when creating clients.
53+
4854
Note: By default, the tenant is automatically created if it doesn't exist.
4955

5056
### Update SLAS Client

0 commit comments

Comments
 (0)