Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python
ClientRedirectUri wrongly cached and returned
- 主要言語
- Bicep
- スター
- 129
- フォーク
- 79
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When first logging in with the inspector app, and then trying to login with VScode.
I get the issue that APIM is returning the redirecturi of the inspector app, to the vs code oauth session.
A VS code oauth triggered flow, generates the following redirect uri.

Which points to inspector.
--------------
EDIT: I discovered that the register endpoint is not triggered by vscode consistently. therefor a new value is not being set by the set-cache policy action. Hence if I use inspector first, then it uses that value as its already cached. Inspector always calls the register endpoint.
コントリビューションガイド
調査の方向性
register endpoint とその set-cache policy action から始め、issue に記載されている inspector-first および VS Code OAuth のシーケンスを再現します。VS Code が登録をトリガーしない場合のフローを検証し、各 OAuth セッションが以前にキャッシュされた値ではなく、それぞれ固有の redirect URI を受け取ることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, vscode
- 領域
- api, authentication, cloud
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100