Commit 070a285
committed
feat(vercel): Add API-driven pipeline backend for Vercel integration setup
Implement `get_pipeline_api_steps()` on `VercelIntegrationProvider` using
a single OAuth2 step, mirroring the Slack pattern. Adds the
`oauth_authorize_url` to `VercelIdentityProvider` (previously unset since
the legacy flow is initiated externally). Updates `build_integration()` to
handle both legacy `state["identity"]["data"]` and new `state["oauth_data"]`
paths, and falls back to `state["uid"]` for `user_id` in the API flow.
Note: Vercel currently has `can_add = False` so the API pipeline cannot
be initialized from the frontend yet. This wiring prepares for the
upcoming external install UI flow.
Ref [VDY-44](https://linear.app/getsentry/issue/VDY-44/vercel-api-driven-integration-setup)1 parent 94b7028 commit 070a285
File tree
2 files changed
+18
-2
lines changed- src/sentry
- identity/vercel
- integrations/vercel
2 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
435 | 436 | | |
436 | 437 | | |
437 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
438 | 447 | | |
439 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
440 | 455 | | |
441 | 456 | | |
442 | 457 | | |
| |||
0 commit comments