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

ClientRedirectUri wrongly cached and returned

Đang mở
#16 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Bicep
Star
129
Fork
79
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.