Skip to content

Commit 569189a

Browse files
committed
assets scope definition + update bot token authorize flow
1 parent 97f12cc commit 569189a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/dev-tools/build-plane-app/choose-token-flow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ GET https://api.plane.so/auth/o/authorize-app/
4848
?client_id=YOUR_CLIENT_ID
4949
&response_type=code
5050
&redirect_uri=https://your-app.com/callback
51+
&scope=scopeA scopeB scopeC
5152
```
5253

5354
### 2. Handle the callback

docs/dev-tools/build-plane-app/oauth-scopes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,13 @@ This document lists all OAuth scopes available when building a Plane app. Reques
124124
| -------------- | ----------------- |
125125
| `profile:read` | Read user profile |
126126

127+
## Assets scopes
128+
129+
| Scope | Description |
130+
| -------------- | ------------------------ |
131+
| `assets:read` | Read assets |
132+
| `assets:write` | Create and update assets |
133+
127134
## Agent Run scopes
128135

129136
| Scope | Description |

0 commit comments

Comments
 (0)