Skip to content

Commit 35c5f6e

Browse files
committed
docs: tweaks to oauth client docs to allow for revisions
1 parent 3da32e4 commit 35c5f6e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

www/content/tutorials/draft-mode/create-oauth-client.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Next, assign the following permissions to the newly created role.
3232
- Bypass content access control
3333
- Issue subrequests
3434
- View user information
35+
- View all revisions
3536

3637
<Callout>
3738

@@ -57,7 +58,7 @@ const article = await drupal.getResource(
5758

5859
## 3. Create User
5960

60-
Add a new user at `/admin/people/create` and **assign them all the roles that are going to be used for scopes, including the administrator role and the role we created above**.
61+
Add a new user at `/admin/people/create` and **assign them all the roles that are going to be used for scopes, including the role we created above**.
6162

6263
---
6364

@@ -143,5 +144,6 @@ export const drupal = new NextDrupal(process.env.NEXT_PUBLIC_DRUPAL_BASE_URL, {
143144
clientId,
144145
clientSecret,
145146
},
147+
withAuth: true,
146148
})
147149
```

0 commit comments

Comments
 (0)