0
Allow integration installs to complete from a CLI
Source: getsentry/sentry#127853 · opened by @sentry-junior[bot]
The API-mode integration pipeline (POST /api/0/organizations/{org}/pipeline/integration_pipeline/) already models most providers as API steps, but a client authenticated with a bearer token (e.g. the Sentry CLI, getsentry/toolkit#1519, getsentry/toolkit#1520) can't finish an install. Blockers • State is session-bound. RedisSessionStore keys pipeline state via request.session (src/sentry/utils/session_store.py), and Pipeline.get_for_request / unpack_state read it from there (src/sentry/pipeline/base.py). Token requests have no session, so nothing persists between initialize and later steps. • OAuth callbacks only reach a browser. PipelineAdvancerView (src/sentry/web/frontend/pipeline_advancer.py, extensions/<provider>/setup/) looks up the pipeline from the browser's session and, in API mode, relays params to window.opener via postMessage. A pipeline started by a CLI is never found ("Invalid request"). • OAuth state is not per-pipeline. pipel…
No pledges yet. Be the first to back this.
Comments
Similar requests
Let an integration rotate its own client secret, and accept GitHub Actions OIDC for release uploads
0 votes · 0 comments
Official JIRA integration should be available as a destination for *Metric* alert rules
0 votes · 0 comments
[Gitlab Integration] Surface an error message when Gitlab loses connection to Sentry
2 votes · 0 comments
Merge integration platform into API applications
0 votes · 0 comments
Does sentry support C# code mapping (stacktrace linking) for GitLab integration ?
0 votes · 0 comments
No comments yet.