Skip to content

Commit bcb35fe

Browse files
committed
Merge branch 'DDOC-1131-incorrect-information-client-credentials' of github.com:box/developer.box.com into staging
2 parents 006fdb2 + c446243 commit bcb35fe

File tree

1 file changed

+13
-2
lines changed
  • content/guides/authentication/client-credentials

1 file changed

+13
-2
lines changed

content/guides/authentication/client-credentials/index.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,23 @@ If you would like to authenticate as the application's [Service Account][sa]:
4646
- set `box_subject_type` to `enterprise`
4747
- set `box_subject_id` to the enterprise ID
4848

49-
If you would like to authenticate as a Managed User:
49+
<Samples id='x_auth' variant='with_client_credentials' ></Samples>
50+
51+
If you would like to authenticate as an admin or a managed user:
5052

5153
- set `box_subject_type` to `user`
5254
- set `box_subject_id` to the user ID
55+
- enable **Generate User Access Tokens** in the Box [Developer Console][devconsole]
5356

54-
<Samples id='x_auth' variant='with_client_credentials' ></Samples>
57+
<Samples id='x_auth' variant='with_ccg_admin_managed_user' ></Samples>
58+
59+
If you would like to authenticate as any application user:
60+
61+
- set `box_subject_type` to `user`
62+
- set `box_subject_id` to the user ID
63+
- enable **App + Enterprise Access** and **Generate User Access Tokens** Box [Developer Console][devconsole]
64+
65+
<Samples id='x_auth' variant='with_ccg_app_user' ></Samples>
5566

5667
## Common Errors
5768

0 commit comments

Comments
 (0)