Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ When creating your Sentry OAuth application:
- `event:read`, `event:write`
- `member:read`
- `team:read`, `team:write`
- `alerts:read`, `alerts:write`
<!-- GENERATED:END oauth-scopes -->

## Environment Variables
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/self-hosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If your instance is on an older version or you prefer not to create an OAuth app
1. Go to **Settings → Developer Settings → Personal Tokens** in your Sentry instance (or visit `https://sentry.example.com/settings/account/api/auth-tokens/new-token/`)
2. Create a new token with the following scopes:
<!-- GENERATED:START oauth-scopes -->
`project:read`, `project:write`, `project:admin`, `org:read`, `event:read`, `event:write`, `member:read`, `team:read`, `team:write`
`project:read`, `project:write`, `project:admin`, `org:read`, `event:read`, `event:write`, `member:read`, `team:read`, `team:write`, `alerts:read`, `alerts:write`
<!-- GENERATED:END oauth-scopes -->
3. Pass it to the CLI:

Expand Down
2 changes: 2 additions & 0 deletions src/lib/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export const OAUTH_SCOPES: readonly string[] = [
"member:read",
"team:read",
"team:write",
"alerts:read",
"alerts:write",
];

/** Space-joined scope string for OAuth requests (full default set). */
Expand Down
Loading