Skip to content

Allow org:ci token creation via OAuth access tokens #122462

Closed

Description

@sentry-junior

Enable the API to create org:ci tokens when authenticated with OAuth access tokens from the CLI (sentry token create/list/delete), while continuing to reject personal and org auth tokens for these endpoints.

Background

  • CLI need: getsentry/toolkit#1388 — project setup cannot mint an org:ci token for sourcemap upload.
  • Initial scope: org:ci only (not general personal/org token minting) to unblock the CLI path first.

Scope

  • In scope: API support for creating (and related list/delete as needed for CLI) org:ci tokens using OAuth access tokens with appropriate token:* scopes.
  • Out of scope: general personal/user token minting via OAuth.

Requested by byk.

--

View Junior Session [Sentry]

Activity

  1. linear-code commented on Aug 24, 2026

    @linear-code
  2. added a commit that references this issue on Oct 23, 2026
    708cc75
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions