Skip to content

feat: add redirect URIs and remove unused config option#394

Merged
ragurubhaarath merged 7 commits intomainfrom
u/bhraguru/public-clients-redirect-uris
Apr 30, 2026
Merged

feat: add redirect URIs and remove unused config option#394
ragurubhaarath merged 7 commits intomainfrom
u/bhraguru/public-clients-redirect-uris

Conversation

@ragurubhaarath
Copy link
Copy Markdown
Contributor

Summary

  • Add https://vscode.dev/redirect and http://localhost redirect URIs to the PublicClients Entra app during register-external-mcp-server
  • Remove unused --config / -c option from register-external-mcp-server command (was never wired to anything, cluttered --help output)

Test plan

  • Build passes with 0 warnings
  • All 1344 tests pass
  • Run a365 develop-mcp register-external-mcp-server --help and verify --config no longer appears
  • Register a new server and verify the PublicClients app has all 4 redirect URIs in Azure Portal

🤖 Generated with Claude Code

ragurubhaarath and others added 2 commits April 29, 2026 16:03
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…command

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 30, 2026 00:03
@ragurubhaarath ragurubhaarath requested review from a team as code owners April 30, 2026 00:03
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates the register-external-mcp-server flow to register additional OAuth redirect URIs for the PublicClients Entra app, and removes an unused CLI option (--config / -c) from the command surface.

Changes:

  • Add https://vscode.dev/redirect and http://localhost to the PublicClients app redirect URIs update call.
  • Remove the unused --config / -c option from the register-external-mcp-server subcommand and update tests accordingly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
src/Tests/Microsoft.Agents.A365.DevTools.Cli.Tests/Commands/DevelopMcpCommandTests.cs Updates CLI option assertions to reflect removal of --config.
src/Microsoft.Agents.A365.DevTools.Cli/Commands/RegisterCommandExecutor.cs Extends redirect URI list sent to Graph for PublicClients app registration.
src/Microsoft.Agents.A365.DevTools.Cli/Commands/DevelopMcpCommand.cs Removes the unused --config / -c option from the subcommand definition.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 30, 2026

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

ragurubhaarath and others added 2 commits April 29, 2026 18:59
Detect database constraint violation from the API and display a clean
user-facing message instead of raw error details. Raw details are still
available with --verbose. Also demote ValidateResponseAsync body-level
errors to debug so callers control the user-facing message.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 30, 2026 02:05
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

Comment thread src/Microsoft.Agents.A365.DevTools.Cli/Commands/RegisterCommandExecutor.cs Outdated
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pronak657
pronak657 previously approved these changes Apr 30, 2026
… error, correlation ID at warning

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pronak657
pronak657 previously approved these changes Apr 30, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ragurubhaarath ragurubhaarath merged commit 3c0806b into main Apr 30, 2026
9 checks passed
@ragurubhaarath ragurubhaarath deleted the u/bhraguru/public-clients-redirect-uris branch April 30, 2026 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants