Repository navigation
GEN-2923 Add X OAuth foundation - #408
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
X OAuth connection lifecycle
This PR delivers user-owned X OAuth setup, tenant-owned job selection, run-scoped X API v2 access, refresh/disconnect race safety, owner connection testing, and explicit app credential replacement with reauthorization for GEN-2923.
GET /2/users/meusing the saved access token. It returns a safe status/message and stored handle only; upstream error bodies and credentials are never returned.Acceptance ledger
Validation
npm run test:localpassed on97bf3e56bae1c5329df36531a11717498e7ca2fc: backend 710 passed / 5 skipped across 109 files; generated contract drift check, app build, backend checks, compiled app/API/PostgreSQL integration, 6 functional browser checks, app tests 98 passed / 1 skipped, proxy checks and Docker E2E passed. New PostgreSQL/API cases used mocked X responses; browser coverage exercised test failure and replacement/re-authorization. No live paid X calls were made.GitHub Build Manager owns asynchronous PR check monitoring; this run did not wait for remote checks.