Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

OAuth Flow not working for Atlassian MCP and Github MCP

オープン
#842 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, github

調査の方向性

ProtectedClient サンプルから始め、serverUrl を https://api.githubcopilot.com/mcp/ に設定します。.well-known/openid-configuration または .well-known/oauth-authorization-server メタデータが見つからないと報告する OAuth メタデータの検索を追跡し、その後 GitHub と Atlassian のフローを比較します。サンプルが認可 URL を開き、影響を受ける MCP サーバーの認証を完了できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area-auth bug needs confirmation P2

Describe the bug
The OAuth flow does not work for both Atlassian MCP and Github MCP when using the C# SDK. After initiating the authentication process, the redirect or token exchange does not complete successfully, resulting in authentication failure. It throws an error:

throw new McpException($"Failed to find .well-known/openid-configuration or .well-known/oauth-authorization-server metadata for authorization server: '{authServerUri}'");

Error Message is as follows:
ModelContextProtocol.McpException: 'Failed to find .well-known/openid-configuration or .well-known/oauth-authorization-server metadata for authorization server: 'https://github.com/login/oauth/''

To Reproduce
Steps to reproduce the behavior:

  1. Clone the csharp-sdk Repo
  2. Execute the "ProtectedClient" Repo and set the serverurl to var serverUrl = "https://api.githubcopilot.com/mcp/";
  3. Error is thrown, no OAuth flow gets initiated

Expected behavior
I expected it to launch an authorization URL that I can use to authenticate against Github or Atlassian, just like it works with FastMCP.

主要言語
C#
スター
4.5k
フォーク
814
平均マージ
9日 19時間
マージ済み PR(30日)
4

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/csharp-sdk のほかの issue

modelcontextprotocol/csharp-sdk の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。