Repository navigation
feat(site): choose automatic or manual OAuth2 client registration for MCP servers - #31560
Conversation
3180b78 to
041317b
Compare
041317b to
f0d6259
Compare
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f0d6259fe6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
f0d6259 to
9db17a1
Compare
|
@codex review re: Remove the assertion from the story play site/src/pages/AISettingsPage/MCPServersPage/MCPServersPage.stories.tsx Not changing this one. The waitFor is a sync step, not a behavior check: it waits for the Authentication method listbox to finish its exit animation (data-[state=closed]:animate-out in site/src/components/Select/Select.tsx) before the play opens the next Select. Without it, the click on the Client registration Budugbox can land while the first listbox is still closing. It mirrors the OAuth2 wait three lines above, which is already on main, and other stories use the same idiom. The value assertions at the end of this play predate this PR and are a separate cleanup. |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9db17a1287
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
9db17a1 to
ec0f4a0
Compare
ec0f4a0 to
7b01424
Compare
7b01424 to
a381c58
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Closes CODAGT-779
This adds a "Client registration" select to the OAuth2 section of the MCP server form, with "Automatic" and "Manual" options, on top of the API changes earlier in the stack.
Automatic hides the client ID, client secret, authorization URL and token URL fields, and Coder registers a client when the server is saved. Once it has, the form shows the registered client ID. The revocation URL, scopes and resource URL are still editable, since Coder only fills them in from discovery and an admin may need to override them (e.g. clearing the resource for Microsoft Entra ID). Manual keeps the existing fields, but now requires the client ID, authorization URL and token URL before the form can be saved.
New servers default to Automatic, and existing OAuth2 servers show the method they were saved with.