Repository navigation
feat: define OAuth connection validation contract - #219
Merged
Merged
Conversation
This was referenced Nov 3, 2026
vishu-bh
marked this pull request as ready for review
November 3, 2026 12:44
vishu-bh
force-pushed
the
chore/5722-openapi-contract
branch
from
November 3, 2026 14:34
070b9a6 to
7dd1e03
Compare
Signed-off-by: Vishu Bhatnagar <vishu.bhatnagar@ibm.com>
gcgoncalves
force-pushed
the
chore/5722-openapi-contract
branch
from
November 4, 2026 09:09
7dd1e03 to
a2e9544
Compare
gcgoncalves
approved these changes
Nov 4, 2026
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.
Define a small handwritten TypeScript compatibility contract for post-authorization OAuth connection validation from IBM/mcp-context-forge#7343. The request fixes the exact gateway ID, saved URL, and validation mode. The response reuses existing generated handshake metadata and adds stage outcomes, failure information, and reauthorization guidance.
This PR does not change
openapi.jsonor commit generated files. It avoids overlapping the backend's automated schema refresh. Remove the compatibility contract once the generated schema includes these fields. Missing stage evidence remains representable so older backends can be rejected safely by the caller.Related to IBM/mcp-context-forge#5722. Backend support for the new validation mode remains a runtime prerequisite.
Validation: production build against types regenerated from the unchanged
mainschema. The updated shared validation and complete UI stack pass their builds, lint, formatting, full frontend coverage suites, and OAuth browser tests.Native GitHub stack: #223, rooted at
main.main.#218 contains the independent E2E typing fix. These PRs replace #216.