Skip to content

OAuth 2.0 Flow scopes are ignored when building authorization URL #863

Closed as not planned

Description

@micovery

Inspector Version

  • v0.17.0

Describe the bug
Scope field is being ignored when building the OAuth authorization URL

To Reproduce

  1. Set Transport type to "Streamable HTTP"
  2. Set URL to an MCP server that requires OAuth2
  3. Set Client ID under the "OAuth 2.0 Flow" section
  4. Set one or more scopes under the "OAuth 2.0 Flow" section
  5. Do the "Guided OAuth Flow" ...
  6. When you reach the "Preparing Authorization" section, notice the "Authorization URL". It completely ignores anything you enter in the "Scope" field. Instead it uses the "scopes_supported" discovered from the protected resource metadata, or from from the /.well-known/oauth-authorization-server metadata.

Expected behavior
This behavior is not correct. If the user enters a set of scopes, those should take precence.

One could argue that you should never use the discovered scopes, as this is purely an informational hint given to the client. Just because a certain scope is supported, does not imply I want to request that scope. If you wanted, you could display the supported scopes, and allow the user to select the ones they want to request.

Screenshots

Image

Environment (please complete the following information):

  • OS: MacOS
  • Browser Chrome - Version 141.0.7390.66 (Official Build) (arm64)

Activity

  1. added
    bug
    auth
    on Oct 13, 2025
  2. symdeb commented on Oct 14, 2025

    @symdeb

    Can concur Ubuntu 25.10/Firefox/inspector 017.1. Scopes are ignored
    Image

  3. added
    closed-v1-deprecated
    on Aug 1, 2026
  4. cliffhall commented on Aug 1, 2026

    @cliffhall
    Member

    Closing: v1 is deprecated.

    Thank you for reporting this, and apologies for the long wait for a response.

    v1 will receive security fixes only — this issue describes a functionality, compatibility, or usability problem rather than a vulnerability, so it is being closed against v1. This is not a judgment on whether the problem is real — it's a consequence of the v1 line being frozen. This is happening as part of #1872.

    If this still happens in v2, we'd genuinely like to know. v2 is a complete rewrite — three clients over a shared core — so many v1 behaviours no longer exist in the same form. Please open a fresh issue against v2 with steps to reproduce, and we'll look at it. Note that we accept external contributions as issues rather than pull requests; maintainers handle design and implementation through a prompt-driven workflow. See CONTRIBUTING.md.

    Thanks for taking the time to report it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    authbugclosed-v1-deprecatedv1

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions