-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add OAuth support for external MCP servers in the Playground #1323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
simplesagar
wants to merge
94
commits into
main
Choose a base branch
from
feat/oauth-support-in-elements
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
94 commits
Select commit
Hold shift + click to select a range
e0d8c92
feat(elements): add OAuth 2.1 support for external MCP servers
simplesagar 529c35d
feat(dashboard): add OAuth connection UI to Playground sidebar
simplesagar d062a85
fix(dashboard): use Loader2 instead of non-existent Spinner
simplesagar 24503b6
feat(playground): add MCP OAuth discovery support
simplesagar b478aaf
feat(oauth): implement MCP OAuth 2.1 with Dynamic Client Registration
simplesagar e5fdaf3
fix(playground): auto-refresh OAuth status after popup closes
simplesagar 5fd0741
feat(oauth): add debug logging for OAuth status checks
simplesagar 23bb72f
fix(oauth): show success page instead of full dashboard in OAuth popup
simplesagar f249e2b
Merge github.com:speakeasy-api/gram into feat/oauth-support-in-elements
walker-tx 7c353dc
fix condition that always resulted in throw
walker-tx a0f547e
hoist oauth handling for external mcp servers up to app level in
walker-tx ecc14be
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 97b7212
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 70a853d
regen sdk
walker-tx b68c66e
format fix
walker-tx 9546613
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 30c0938
remove duplicate code
walker-tx 2ac20cc
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx d0c068f
regen sdk
walker-tx 1e50cef
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 57366c8
reload mcp once oauth flow finishes
walker-tx 6561a18
fix toolset.get requests when no slug is present
walker-tx 8e75719
remove constant query key
walker-tx 8cab7c8
add a prefix to oauthToken querykey
walker-tx 494f573
validate redirect uris
walker-tx 737de34
belt and suspenders for redirect validation
walker-tx d946de8
break hosted page into its own template file
walker-tx e2efd16
fix the empty state for playground page
walker-tx 3423d10
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 27cf3e8
correct empty state render conditions
walker-tx aee8ce8
invalidate oauthToken upon disconnect
walker-tx 68da726
spawn oauth popup in center of browser window
walker-tx c1ea06b
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx e63ef8d
fix atlas hash
walker-tx a512069
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx cfa3e75
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 7d1b3f9
use gram_session cookie in playground to fetch auth header
walker-tx 6b34a53
reconcile schema.sql with main
walker-tx 3957669
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 2a5b7bf
refactor migrations out of this branch
walker-tx 33f6f11
feat: add external OAuth API support for playground
walker-tx 7dc060f
remove unneeded comment
walker-tx 9f330ee
refactor usage of smith prt package out
walker-tx 4306574
remove timestamp and string helper funcs
walker-tx 6ff3d10
use o11y.logdefer
walker-tx ee4fd28
use encryption client in lieu of interface
walker-tx 87e12c0
move auth url creation above state storage
walker-tx 5fa7a69
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 77c7e6c
remove unneeded comment
walker-tx bcbf23f
refactor usage of smith prt package out
walker-tx aea3aee
remove timestamp and string helper funcs
walker-tx f1b4028
use o11y.logdefer
walker-tx 338e4b0
use encryption client in lieu of interface
walker-tx 91e1895
move auth url creation above state storage
walker-tx 6ac3c99
clean up auth and project id implementations
walker-tx 041f0cf
refactor external-oauth auth and project discovery
walker-tx 5927f40
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 8dac882
update oauth success styling
walker-tx 23f1b66
Merge github.com:speakeasy-api/gram into feat/oauth-support-in-elements
walker-tx 987598f
Merge remote-tracking branch 'origin/feat/oauth-support-in-playground…
walker-tx 5243ddc
update hosted oauth success page
walker-tx 75355ba
allow configuration of allowed redirect domains
walker-tx c923892
Merge branch 'feat/oauth-support-in-playground-api' into feat/oauth-s…
walker-tx 8103044
Merge remote-tracking branch 'origin' into feat/oauth-support-in-elem…
walker-tx 5907747
conditionally render chat based on oauth status
walker-tx 7f355ab
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 26c5f6e
update api to index external mcp oauth tokens using toolset_id
walker-tx cd590df
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 679fab5
Merge branch 'feat/oauth-support-in-playground-api' into feat/oauth-s…
walker-tx 6575516
update mcp/impl for new indexing
walker-tx a11c3f9
remove issuer requirement for status endpoint
walker-tx 632f41f
Merge branch 'feat/oauth-support-in-playground-api' into feat/oauth-s…
walker-tx 8a17d72
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 010d711
de-duplicate mcp oauth status fetching
walker-tx 3fbb740
restore Elements.tsx to main branch
walker-tx bca8d84
fix elements errors
walker-tx c1bd1cb
remove "legacy" external oauth ui
walker-tx 58df04a
removing frivelous sort re-orders
walker-tx e09f722
remove oauth page preview script
walker-tx 7e58884
remove unused types
walker-tx e7d1443
fix up build errors due to vite config
walker-tx dcdb3ce
still trying to fix vite in CI
walker-tx bfa92fb
more vite fixes
walker-tx ee493e4
fix linting
walker-tx c7774a9
Merge branch 'main' of github.com:speakeasy-api/gram into feat/oauth-…
walker-tx 9bcee86
remove elements changes
walker-tx 57d8236
remove unneeded pnpm file changes
walker-tx 24d0d2f
Add OAuth support for external MCP servers
walker-tx 2e8ff2b
Update client/dashboard/src/pages/playground/PlaygroundAuth.tsx
walker-tx 62d1b9e
check window.location matches apiUrl before sending redirect_uri
walker-tx 2320534
Merge branch 'feat/oauth-support-in-elements' of github.com:speakeasy…
walker-tx 97f343f
remove outdated comment
walker-tx 7ca2e14
add AuthenticateWithCookie helper
walker-tx 3a3757d
update comments
walker-tx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| "dashboard": patch | ||
| "@gram/client": patch | ||
| "server": patch | ||
| --- | ||
|
|
||
| feat: add OAuth support for external MCP servers in the Playground |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An empty array still evaluates to
true.