Skip to content

Manually Setting Authentication Header still requires oauth flow #784

@rob893

Description

@rob893

Describe the bug
I manually set the authentication header:

Image

however the inspector still tries to go through the oauth flow which won't work because the provider endpoints it tries to use do no support cors.

Image Image

To Reproduce
Steps to reproduce the behavior:

  1. Manually set the authentication header
  2. Connect to MCP
  3. notice it still tries to go through oauth flow

Expected behavior
If the authentication header is manually set, inspector should just use it rather than trying to go through the oauth flow.

The MCP server in question uses C# sdk with entra auth

Metadata

Metadata

Assignees

No one assigned

    Labels

    authIssues and PRs related to authorizationbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions