Skip to content

HTTP 405 trying to load well-known OAuth metadata #634

@jpmcb

Description

@jpmcb

Describe the bug

When attempting to walk through the auth flow for my server, I get the following:

Image
HTTP 405 trying to load well-known OAuth metadata

This seems to be directly related to: modelcontextprotocol/typescript-sdk#744

To Reproduce

Steps to reproduce the behavior:

  1. Have an OAuth server in the protected metadata at a trailing path like so: my-org.okta.com/oauth/abc123
  2. Attempt to walk through OAuth
  3. Notice error
  4. Open console and see the following:
OAuth flow error: Error: HTTP 405 trying to load well-known OAuth metadata
    discoverOAuthMetadata http://localhost:6274/assets/index-CPgI0-gs.js:16611

Expected behavior

OAuth flow to work with any auth server provider

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