Azure-Samples / Azure-Samples/remote-mcp-apim-functions-python

ClientRedirectUri wrongly cached and returned

未关闭
#16 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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.

![Image](https://github.com/user-attachments/assets/2da23d6f-d261-4977-a1a3-06f67976f6f7)

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。